Replacing usage of with everywhere
parent
710589d5df
commit
f1c945c4df
|
@ -43,7 +43,7 @@ class ProjectProfileController extends mixOf(taiga.Controller, taiga.PageMixin)
|
|||
"$tgResources",
|
||||
"$routeParams",
|
||||
"$q",
|
||||
"$location",
|
||||
"$tgLocation",
|
||||
"$appTitle"
|
||||
]
|
||||
|
||||
|
@ -161,5 +161,5 @@ ProjectFeaturesDirective = ($rootscope, $log, $repo, $confirm) ->
|
|||
|
||||
return {link:link}
|
||||
|
||||
module.directive("tgProjectProfile", ["$rootScope", "$log", "$tgRepo", "$tgConfirm", "$location", ProjectProfileDirective])
|
||||
module.directive("tgProjectProfile", ["$rootScope", "$log", "$tgRepo", "$tgConfirm", "$tgLocation", ProjectProfileDirective])
|
||||
module.directive("tgProjectFeatures", ["$rootScope", "$log", "$tgRepo", "$tgConfirm", ProjectFeaturesDirective])
|
||||
|
|
|
@ -43,7 +43,7 @@ class ProjectValuesController extends mixOf(taiga.Controller, taiga.PageMixin)
|
|||
"$tgResources",
|
||||
"$routeParams",
|
||||
"$q",
|
||||
"$location",
|
||||
"$tgLocation",
|
||||
"$appTitle"
|
||||
]
|
||||
|
||||
|
|
|
@ -181,7 +181,7 @@ LoginDirective = ($auth, $confirm, $location, $config, $routeParams, $navUrls) -
|
|||
|
||||
return {link:link}
|
||||
|
||||
module.directive("tgLogin", ["$tgAuth", "$tgConfirm", "$location", "$tgConfig", "$routeParams", "$tgNavUrls",
|
||||
module.directive("tgLogin", ["$tgAuth", "$tgConfirm", "$tgLocation", "$tgConfig", "$routeParams", "$tgNavUrls",
|
||||
LoginDirective])
|
||||
|
||||
#############################################################################
|
||||
|
@ -221,7 +221,7 @@ RegisterDirective = ($auth, $confirm, $location, $config, $navUrls) ->
|
|||
|
||||
return {link:link}
|
||||
|
||||
module.directive("tgRegister", ["$tgAuth", "$tgConfirm", "$location", "$tgConfig", "$tgNavUrls",
|
||||
module.directive("tgRegister", ["$tgAuth", "$tgConfirm", "$tgLocation", "$tgConfig", "$tgNavUrls",
|
||||
RegisterDirective])
|
||||
|
||||
#############################################################################
|
||||
|
@ -261,7 +261,7 @@ ForgotPasswordDirective = ($auth, $confirm, $location, $navUrls) ->
|
|||
|
||||
return {link:link}
|
||||
|
||||
module.directive("tgForgotPassword", ["$tgAuth", "$tgConfirm", "$location", "$tgNavUrls",
|
||||
module.directive("tgForgotPassword", ["$tgAuth", "$tgConfirm", "$tgLocation", "$tgNavUrls",
|
||||
ForgotPasswordDirective])
|
||||
|
||||
#############################################################################
|
||||
|
@ -306,7 +306,7 @@ ChangePasswordFromRecoveryDirective = ($auth, $confirm, $location, $params, $nav
|
|||
|
||||
return {link:link}
|
||||
|
||||
module.directive("tgChangePasswordFromRecovery", ["$tgAuth", "$tgConfirm", "$location", "$routeParams",
|
||||
module.directive("tgChangePasswordFromRecovery", ["$tgAuth", "$tgConfirm", "$tgLocation", "$routeParams",
|
||||
"$tgNavUrls", ChangePasswordFromRecoveryDirective])
|
||||
|
||||
#############################################################################
|
||||
|
@ -387,7 +387,7 @@ InvitationDirective = ($auth, $confirm, $location, $params, $config, $navUrls) -
|
|||
|
||||
return {link:link}
|
||||
|
||||
module.directive("tgInvitation", ["$tgAuth", "$tgConfirm", "$location", "$routeParams", "$tgConfig",
|
||||
module.directive("tgInvitation", ["$tgAuth", "$tgConfirm", "$tgLocation", "$routeParams", "$tgConfig",
|
||||
"$tgNavUrls", InvitationDirective])
|
||||
|
||||
#############################################################################
|
||||
|
@ -427,5 +427,5 @@ ChangeEmailDirective = ($repo, $model, $auth, $confirm, $location, $params, $nav
|
|||
|
||||
return {link:link}
|
||||
|
||||
module.directive("tgChangeEmail", ["$tgRepo", "$tgModel", "$tgAuth", "$tgConfirm", "$location", "$routeParams",
|
||||
module.directive("tgChangeEmail", ["$tgRepo", "$tgModel", "$tgAuth", "$tgConfirm", "$tgLocation", "$routeParams",
|
||||
"$tgNavUrls", ChangeEmailDirective])
|
||||
|
|
|
@ -123,4 +123,4 @@ NavigationUrlsDirective = ($navurls, $auth, $q, $location) ->
|
|||
|
||||
return {link: link}
|
||||
|
||||
module.directive("tgNav", ["$tgNavUrls", "$tgAuth", "$q", "$location", NavigationUrlsDirective])
|
||||
module.directive("tgNav", ["$tgNavUrls", "$tgAuth", "$q", "$tgLocation", NavigationUrlsDirective])
|
||||
|
|
|
@ -42,7 +42,7 @@ class IssueDetailController extends mixOf(taiga.Controller, taiga.PageMixin, tai
|
|||
"$tgResources",
|
||||
"$routeParams",
|
||||
"$q",
|
||||
"$location",
|
||||
"$tgLocation",
|
||||
"$log",
|
||||
"$appTitle",
|
||||
"$tgNavUrls"
|
||||
|
|
|
@ -46,7 +46,7 @@ class IssuesController extends mixOf(taiga.Controller, taiga.PageMixin, taiga.Fi
|
|||
"$tgUrls",
|
||||
"$routeParams",
|
||||
"$q",
|
||||
"$location",
|
||||
"$tgLocation",
|
||||
"$appTitle",
|
||||
"tgLoader"
|
||||
]
|
||||
|
|
|
@ -185,7 +185,7 @@ ProjectsNavigationDirective = ($rootscope, animationFrame, $timeout, tgLoader, $
|
|||
|
||||
return {link: link}
|
||||
|
||||
module.directive("tgProjectsNav", ["$rootScope", "animationFrame", "$timeout", "tgLoader", "$location",
|
||||
module.directive("tgProjectsNav", ["$rootScope", "animationFrame", "$timeout", "tgLoader", "$tgLocation",
|
||||
ProjectsNavigationDirective])
|
||||
|
||||
|
||||
|
|
|
@ -90,4 +90,4 @@ DeleteProjectDirective = ($repo, $rootscope, $auth, $location, lightboxService)
|
|||
return {link:link}
|
||||
|
||||
|
||||
module.directive("tgLbDeleteProject", ["$tgRepo", "$rootScope", "$tgAuth", "$location", "lightboxService", DeleteProjectDirective])
|
||||
module.directive("tgLbDeleteProject", ["$tgRepo", "$rootScope", "$tgAuth", "$tgLocation", "lightboxService", DeleteProjectDirective])
|
||||
|
|
|
@ -3,7 +3,7 @@ module = angular.module("taigaProject")
|
|||
bindOnce = @.taiga.bindOnce
|
||||
|
||||
class ProjectsController extends taiga.Controller
|
||||
@.$inject = ["$scope", "$tgResources", "$rootScope", "$tgNavUrls", "$tgAuth", "$location", "$appTitle", "$projectUrl", "tgLoader"]
|
||||
@.$inject = ["$scope", "$tgResources", "$rootScope", "$tgNavUrls", "$tgAuth", "$tgLocation", "$appTitle", "$projectUrl", "tgLoader"]
|
||||
|
||||
constructor: (@scope, @rs, @rootscope, @navurls, $auth, $location, appTitle, @projectUrl, tgLoader) ->
|
||||
appTitle.set("Projects")
|
||||
|
|
|
@ -40,7 +40,7 @@ class SearchController extends mixOf(taiga.Controller, taiga.PageMixin)
|
|||
"$tgResources",
|
||||
"$routeParams",
|
||||
"$q",
|
||||
"$location",
|
||||
"$tgLocation",
|
||||
"$appTitle",
|
||||
"tgLoader"
|
||||
]
|
||||
|
|
|
@ -39,7 +39,7 @@ class TaskDetailController extends mixOf(taiga.Controller, taiga.PageMixin, taig
|
|||
"$tgResources",
|
||||
"$routeParams",
|
||||
"$q",
|
||||
"$location",
|
||||
"$tgLocation",
|
||||
"$log",
|
||||
"$appTitle",
|
||||
"$tgNavUrls"
|
||||
|
|
|
@ -39,7 +39,7 @@ class UserChangePasswordController extends mixOf(taiga.Controller, taiga.PageMix
|
|||
"$tgResources",
|
||||
"$routeParams",
|
||||
"$q",
|
||||
"$location",
|
||||
"$tgLocation",
|
||||
"$tgAuth"
|
||||
]
|
||||
|
||||
|
|
|
@ -59,4 +59,4 @@ DeleteUserDirective = ($repo, $rootscope, $auth, $location, lightboxService) ->
|
|||
return {link:link}
|
||||
|
||||
|
||||
module.directive("tgLbDeleteUser", ["$tgRepo", "$rootScope", "$tgAuth", "$location", "lightboxService", DeleteUserDirective])
|
||||
module.directive("tgLbDeleteUser", ["$tgRepo", "$rootScope", "$tgAuth", "$tgLocation", "lightboxService", DeleteUserDirective])
|
||||
|
|
|
@ -37,7 +37,7 @@ class UserSettingsController extends mixOf(taiga.Controller, taiga.PageMixin)
|
|||
"$tgResources",
|
||||
"$routeParams",
|
||||
"$q",
|
||||
"$location",
|
||||
"$tgLocation",
|
||||
"$tgAuth"
|
||||
]
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ class UserNotificationsController extends mixOf(taiga.Controller, taiga.PageMixi
|
|||
"$tgResources",
|
||||
"$routeParams",
|
||||
"$q",
|
||||
"$location",
|
||||
"$tgLocation",
|
||||
"$tgAuth"
|
||||
]
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ class UserStoryDetailController extends mixOf(taiga.Controller, taiga.PageMixin,
|
|||
"$tgResources",
|
||||
"$routeParams",
|
||||
"$q",
|
||||
"$location",
|
||||
"$tgLocation",
|
||||
"$log",
|
||||
"$appTitle",
|
||||
"$tgNavUrls"
|
||||
|
|
|
@ -41,7 +41,7 @@ class WikiDetailController extends mixOf(taiga.Controller, taiga.PageMixin, taig
|
|||
"$tgResources",
|
||||
"$routeParams",
|
||||
"$q",
|
||||
"$location",
|
||||
"$tgLocation",
|
||||
"$filter",
|
||||
"$log",
|
||||
"$appTitle"
|
||||
|
|
Loading…
Reference in New Issue