Centralize legend getter in a service, compile suggestions HTML in search directive once only
Merge pull request #277 from geoadmin/dev_legend_service

Centralize legend getter in a service