#214: fixed angularjs Controllers
This commit is contained in:
parent
3a5c21d34b
commit
e3cd73ddaf
|
@ -1,4 +1,4 @@
|
|||
RosaABF.controller('ProjectRefsController', function($scope, $http, ApiProject) {
|
||||
RosaABF.controller('ProjectRefsController', ['$scope', '$http', 'ApiProject', function($scope, $http, ApiProject) {
|
||||
|
||||
$scope.branches = [];
|
||||
$scope.tags = [];
|
||||
|
@ -53,4 +53,4 @@ RosaABF.controller('ProjectRefsController', function($scope, $http, ApiProject)
|
|||
);
|
||||
}
|
||||
|
||||
});
|
||||
}]);
|
|
@ -1,4 +1,4 @@
|
|||
RosaABF.controller('PullRequestController', function($scope, $http, ApiPullRequest, ApiProject, DateTimeFormatter) {
|
||||
RosaABF.controller('PullRequestController',['$scope', '$http', 'ApiPullRequest', 'ApiProject', 'DateTimeFormatter', function($scope, $http, ApiPullRequest, ApiProject, DateTimeFormatter) {
|
||||
|
||||
$scope.project_id = null;
|
||||
$scope.project_resource = null;
|
||||
|
@ -87,4 +87,4 @@ RosaABF.controller('PullRequestController', function($scope, $http, ApiPullReque
|
|||
}
|
||||
}
|
||||
|
||||
});
|
||||
}]);
|
Loading…
Reference in New Issue