Skip to content
This repository has been archived by the owner on May 11, 2020. It is now read-only.

Map directive should not include "E" #861

Open
garry3peace opened this issue Feb 23, 2018 · 0 comments
Open

Map directive should not include "E" #861

garry3peace opened this issue Feb 23, 2018 · 0 comments

Comments

@garry3peace
Copy link

garry3peace commented Feb 23, 2018

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]);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant