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
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
- **[4e3624](https://github.com/angular/angular.js/commit/4e3624552284d0e725bf6262b2e468cd2c7682fa)**: remove the attribute for `.attr(attribute, null)`
232
232
233
233
Invoking `elem.attr(attributeName, null)` would set the
234
-
`attributeName` atribute value to a string `"null"`, now it removes the
234
+
`attributeName` attribute value to a string `"null"`, now it removes the
235
235
attribute instead.
236
236
237
237
To migrate the code follow the example below:
@@ -595,7 +595,7 @@ ancestor.
595
595
It is possible that an `ngModelOptions` directive that does not set a property,
596
596
has an ancestor ngModelOptions that does set this property to a value other than
597
597
`undefined`. This would cause the `ngModel` and input controls below this `ngModelOptions`
598
-
directive to display different behaviour. This is fixed by explictly setting the
598
+
directive to display different behaviour. This is fixed by explicitly setting the
599
599
property in the `ngModelOptions` to prevent it from inheriting from the ancestor.
600
600
601
601
For example if you had the following HTML:
@@ -667,7 +667,7 @@ might have unexpectd side effects in the following cases:
667
667
668
668
```js
669
669
// Assuming the following component:
670
-
.compoent('someThing', {
670
+
.component('someThing', {
671
671
template: '<ng-transclude><!-- Default content goes here --></ng-transclude>'
672
672
transclude: {
673
673
ignored: 'veryImportantContent'
@@ -2919,7 +2919,7 @@ the built-in pattern validator:
2919
2919
/**
2920
2920
* The built-in directive will call our overwritten validator
2921
2921
* (see below). We just need to update the regex.
2922
-
* The preLink fn guaranetees our observer is called first.
2922
+
* The preLink fn guarantees our observer is called first.
2923
2923
*/
2924
2924
if (isString(regex) && regex.length > 0) {
2925
2925
regex = new RegExp('^' + regex + '$');
@@ -3035,7 +3035,7 @@ the built-in pattern validator:
3035
3035
/**
3036
3036
* The built-in directive will call our overwritten validator
3037
3037
* (see below). We just need to update the regex.
3038
-
* The preLink fn guaranetees our observer is called first.
3038
+
* The preLink fn guarantees our observer is called first.
Copy file name to clipboardExpand all lines: docs/content/guide/component-router.ngdoc
+3-3
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,8 @@ Here is a table of the main concepts used in the Component Router.
32
32
| Routing Component | An Angular component with a RouteConfig and an associated Router. |
33
33
| RouteDefinition | Defines how the router should navigate to a component based on a URL pattern. |
34
34
| ngOutlet | The directive (`<ng-outlet>`) that marks where the router should display a view. |
35
-
| ngLink | The directive (`ng-link="..."`) for binding a clickable HTML element to a route, via a Link Paramaters Array. |
36
-
| Link Parameters Array | An array that the router inteprets into a routing instruction. We can bind a RouterLink to that array or pass the array as an argument to the Router.navigate method. |
35
+
| ngLink | The directive (`ng-link="..."`) for binding a clickable HTML element to a route, via a Link Parameters Array. |
36
+
| Link Parameters Array | An array that the router interprets into a routing instruction. We can bind a RouterLink to that array or pass the array as an argument to the Router.navigate method. |
37
37
38
38
39
39
## Component-based Applications
@@ -929,7 +929,7 @@ function HeroListComponent(heroService) {
929
929
}
930
930
```
931
931
932
-
Finally, we can use this information to higlight the current hero in the template.
932
+
Finally, we can use this information to highlight the current hero in the template.
0 commit comments