#214: fixed angularjs Controllers

This commit is contained in:
Vokhmin Alexey V 2013-07-18 21:00:32 +04:00
parent 3a5c21d34b
commit e3cd73ddaf
2 changed files with 4 additions and 4 deletions

View File

@ -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)
);
}
});
}]);

View File

@ -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
}
}
});
}]);