diff --git a/src/angular-google-staticmaps.js b/src/angular-google-staticmaps.js index 8ff96b5..1bb89c6 100644 --- a/src/angular-google-staticmaps.js +++ b/src/angular-google-staticmaps.js @@ -58,7 +58,7 @@ }, ''); }; }) - .directive('staticGmap', function ($parse) { + .directive('staticGmap', ['$parse', function ($parse) { return { template: 'Google Map', replace: true, @@ -88,5 +88,5 @@ el.src = ctrl.buildSourceString(attrs, markers); } }; - }); + }]); }());