The code in /directives/map.js
Isn't this supposed to be :
var mapDirective = function () {
return {
restrict: 'A', //no "E" since element "map" is reserved word.
controller: '__MapController',
controllerAs: 'ngmap'
};
};
Or alternately, this line should exclude "E"
angular.module("ngMap").directive("map",[e]);
The code in /directives/map.js Isn't this supposed to be :
var mapDirective = function () { return { restrict: 'A', //no "E" since element "map" is reserved word. controller: '__MapController', controllerAs: 'ngmap' }; };
Or alternately, this line should exclude "E" angular.module("ngMap").directive("map",[e]);