chore(docs): ensure DI annotations are in place

This commit is contained in:
Peter Bacon Darwin
2014-09-24 09:51:10 +01:00
parent 54af406c2e
commit 2aead39486
3 changed files with 4 additions and 6 deletions

View File

@@ -19,6 +19,6 @@ angular.module('docsApp', [
])
.config(function($locationProvider) {
.config(['$locationProvider', function($locationProvider) {
$locationProvider.html5Mode(true).hashPrefix('!');
});
}]);

View File

@@ -1,6 +1,6 @@
angular.module('tutorials', [])
.directive('docTutorialNav', function(templateMerge) {
.directive('docTutorialNav', ['templateMerge' ,function(templateMerge) {
var pages = [
'',
'step_00', 'step_01', 'step_02', 'step_03', 'step_04',
@@ -27,7 +27,7 @@ angular.module('tutorials', [])
'<a href="tutorial/{{next}}"><li class="btn btn-primary">Next <i class="glyphicon glyphicon-step-forward"></i></li></a>', props));
}
};
})
}])
.directive('docTutorialReset', function() {

View File

@@ -1,5 +1,3 @@
"use strict";
angular.module('versions', [])
.controller('DocsVersionsCtrl', ['$scope', '$location', '$window', 'NG_VERSIONS', function($scope, $location, $window, NG_VERSIONS) {