Skip to content

Commit dd8deaf

Browse files
scottswordpetebacondarwin
authored andcommitted
style(controllers): consistent use of dots
The second controller led with a period while the first did not. Moving the period in front of the first controller creates consistency and more explicitly conveys the chaining behavior. Closes angular#138
1 parent 5e3c0d2 commit dd8deaf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/js/controllers.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
/* Controllers */
44

5-
angular.module('myApp.controllers', []).
6-
controller('MyCtrl1', [function() {
5+
angular.module('myApp.controllers', [])
6+
.controller('MyCtrl1', [function() {
77

88
}])
99
.controller('MyCtrl2', [function() {
1010

11-
}]);
11+
}]);

0 commit comments

Comments
 (0)