injections cleanup

This commit is contained in:
Athou
2013-05-19 10:50:34 +02:00
parent 18f24b570d
commit 7a6eb90e1d

View File

@@ -936,10 +936,8 @@ function($scope, $location, $state, AdminSettingsService) {
};
}]);
module.controller('FooterController', [ '$scope', '$location', '$state',
'AdminSettingsService',
function($scope, $location, $state, AdminSettingsService) {
module.controller('FooterController', [ '$scope', function($scope) {
var baseUrl = window.location.href.substring(0, window.location.href.lastIndexOf('#'));
var hostname = window.location.hostname;
$scope.subToMeUrl = baseUrl + 'rest/feed/subscribe?url={feed}';