Use ng-controller with "as"
Docs for the ngeo-map directive
Merge pull request #81 from elemoine/controlleras

Use the "controller as" syntax