From 0be1440e7f165da508b791e3cc71b44b5fb8762f Mon Sep 17 00:00:00 2001 From: Joscha Feth Date: Sun, 15 Mar 2015 17:46:51 +0100 Subject: [PATCH] Add dependency injection annotation --- src/angular-google-staticmaps.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } }; - }); + }]); }());