camptocamp/ngeo — pull request #10 by elemoine (2014-06-13 07:23:09+00:00)
Title: Change to A type directives

This PR converts the map, layer visibility and layer opacity directives to A directives (`restrict: "A"`). Look at the examples to see how the new directives are used.

The PR also adds a `goDefaultMap` constant, providing a default name for the scope property referencing the application's map instance.