@@ -62,8 +62,8 @@ While this guide explains the *what*, *why* and *how*, I find it helpful to see
62
62
/* avoid */
63
63
angular
64
64
.module (' app' , [' ngRoute' ])
65
- .controller (' SomeController' , SomeController)
66
- .factory (' someFactory' , someFactory);
65
+ .controller (' SomeController' , SomeController)
66
+ .factory (' someFactory' , someFactory);
67
67
68
68
function SomeController () { }
69
69
@@ -86,7 +86,7 @@ While this guide explains the *what*, *why* and *how*, I find it helpful to see
86
86
// someController.js
87
87
angular
88
88
.module (' app' )
89
- .controller (' SomeController' , SomeController);
89
+ .controller (' SomeController' , SomeController);
90
90
91
91
function SomeController () { }
92
92
```
@@ -97,7 +97,7 @@ While this guide explains the *what*, *why* and *how*, I find it helpful to see
97
97
// someFactory.js
98
98
angular
99
99
.module (' app' )
100
- .factory (' someFactory' , someFactory);
100
+ .factory (' someFactory' , someFactory);
101
101
102
102
function someFactory () { }
103
103
```
@@ -219,7 +219,7 @@ While this guide explains the *what*, *why* and *how*, I find it helpful to see
219
219
``` javascript
220
220
/* avoid */
221
221
var app = angular .module (' app' );
222
- app .controller (' SomeController' , SomeController);
222
+ app .controller (' SomeController' , SomeController);
223
223
224
224
function SomeController () { }
225
225
```
@@ -228,7 +228,7 @@ While this guide explains the *what*, *why* and *how*, I find it helpful to see
228
228
/* recommended */
229
229
angular
230
230
.module (' app' )
231
- .controller (' SomeController' , SomeController);
231
+ .controller (' SomeController' , SomeController);
232
232
233
233
function SomeController () { }
234
234
```
0 commit comments