Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 8ab673d

Browse files
chore(docs): ensure DI annotations are in place
1 parent b9e899c commit 8ab673d

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

docs/app/src/app.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ angular.module('docsApp', [
1919
])
2020

2121

22-
.config(function($locationProvider) {
22+
.config(['$locationProvider', function($locationProvider) {
2323
$locationProvider.html5Mode(true).hashPrefix('!');
24-
});
24+
}]);

docs/app/src/tutorials.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
angular.module('tutorials', [])
22

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

3232

3333
.directive('docTutorialReset', function() {

docs/app/src/versions.js

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"use strict";
2-
31
angular.module('versions', [])
42

53
.controller('DocsVersionsCtrl', ['$scope', '$location', '$window', 'NG_VERSIONS', function($scope, $location, $window, NG_VERSIONS) {

0 commit comments

Comments
 (0)