You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: a1/README.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -489,7 +489,7 @@ While this guide explains the *what*, *why* and *how*, I find it helpful to see
489
489
}
490
490
```
491
491
492
-

492
+

493
493
494
494
Note: If the function is a 1 liner consider keeping it right up top, as long as readability is not affected.
495
495
@@ -834,7 +834,7 @@ While this guide explains the *what*, *why* and *how*, I find it helpful to see
834
834
835
835
This way bindings are mirrored across the host object, primitive values cannot update alone using the revealing module pattern.
836
836
837
-

837
+

838
838
839
839
### Function Declarations to Hide Implementation Details
840
840
###### [Style [Y053](#style-y053)]
@@ -980,7 +980,7 @@ While this guide explains the *what*, *why* and *how*, I find it helpful to see
980
980
}
981
981
```
982
982
983
-
Note: The data service is called from consumers, such as a controller, hiding the implementation from the consumers, as shown below.
983
+
Note: The data service is called from consumers, such as a controller, hiding the implementation from the consumers, as shown below.
984
984
985
985
```javascript
986
986
/* recommended */
@@ -1153,7 +1153,7 @@ While this guide explains the *what*, *why* and *how*, I find it helpful to see
1153
1153
}
1154
1154
```
1155
1155
1156
-
Note: There are many naming options for directives, especially since they can be used in narrow or wide scopes. Choose one that makes the directive and its file name distinct and clear. Some examples are below, but see the [Naming](#naming) section for more recommendations.
1156
+
Note: There are many naming options for directives, especially since they can be used in narrow or wide scopes. Choose one that makes the directive and its file name distinct and clear. Some examples are below, but see the [Naming](#naming) section for more recommendations.
1157
1157
1158
1158
### Manipulate DOM in a Directive
1159
1159
###### [Style [Y072](#style-y072)]
@@ -1314,7 +1314,7 @@ While this guide explains the *what*, *why* and *how*, I find it helpful to see
Note: You can also name the controller when you inject it into the link function and access directive attributes as properties of the controller.
1317
+
Note: You can also name the controller when you inject it into the link function and access directive attributes as properties of the controller.
1318
1318
1319
1319
```javascript
1320
1320
// Alternative to above example
@@ -1489,7 +1489,7 @@ While this guide explains the *what*, *why* and *how*, I find it helpful to see
1489
1489
}
1490
1490
```
1491
1491
1492
-
Note: The example below shows the route resolve points to a named function, which is easier to debug and easier to handle dependency injection.
1492
+
Note: The example below shows the route resolve points to a named function, which is easier to debug and easier to handle dependency injection.
1493
1493
1494
1494
```javascript
1495
1495
/* even better */
@@ -1526,7 +1526,7 @@ While this guide explains the *what*, *why* and *how*, I find it helpful to see
1526
1526
vm.movies=moviesPrepService.movies;
1527
1527
}
1528
1528
```
1529
-
Note: The code example's dependency on `movieService` is not minification safe on its own. For details on how to make this code minification safe, see the sections on [dependency injection](#manual-annotating-for-dependency-injection) and on [minification and annotation](#minification-and-annotation).
1529
+
Note: The code example's dependency on `movieService` is not minification safe on its own. For details on how to make this code minification safe, see the sections on [dependency injection](#manual-annotating-for-dependency-injection) and on [minification and annotation](#minification-and-annotation).
0 commit comments