From b8d966336575f1732f2f48c06aeb0f2ecd9f6737 Mon Sep 17 00:00:00 2001 From: Athou Date: Tue, 30 Apr 2013 23:06:41 +0200 Subject: [PATCH] added missing injection point --- src/main/webapp/js/directives.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/js/directives.js b/src/main/webapp/js/directives.js index 8a6b8f9a..ea4766fe 100644 --- a/src/main/webapp/js/directives.js +++ b/src/main/webapp/js/directives.js @@ -8,7 +8,7 @@ module.directive('favicon', function() { }, replace : true, template : '', - controller : function($scope) { + controller : ['$scope', function($scope) { $scope.iconUrl = function() { var url = $scope.url; @@ -25,7 +25,7 @@ module.directive('favicon', function() { iconUrl += '?defaulticon=none'; return iconUrl; }; - } + }] }; });