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.
Copy file name to clipboardexpand all lines: docs/content/api/index.ngdoc
+1-1
Original file line number
Diff line number
Diff line change
@@ -156,7 +156,7 @@ or JavaScript callbacks.
156
156
{@link ngAnimate JS-based animations}
157
157
</td>
158
158
<td>
159
-
Use {@link angular.Module#methods_animation module.animation()} to register a JavaScript animation. Once registered the animation can be triggered by referencing the CSS class within the HTML template code.
159
+
Use {@link angular.Module#animation module.animation()} to register a JavaScript animation. Once registered the animation can be triggered by referencing the CSS class within the HTML template code.
Typically, this would occur if you're attempting to load an Angular template from an untrusted source.
9
9
It's also possible that a custom directive threw this error for a similar reason.
10
10
11
-
Angular only loads templates from trusted URLs (by calling {@link ng.$sce#methods_getTrustedResourceUrl $sce.getTrustedResourceUrl} on the template URL).
11
+
Angular only loads templates from trusted URLs (by calling {@link ng.$sce#getTrustedResourceUrl $sce.getTrustedResourceUrl} on the template URL).
12
12
13
13
By default, only URLs that belong to the same origin are trusted. These are urls with the same domain and protocol as the application document.
14
14
15
15
The {@link ng.directive:ngInclude ngInclude} directive and {@link guide/directive directives} that specify a `templateUrl` require a trusted resource URL.
16
16
17
17
To load templates from other domains and/or protocols, either adjust the {@link
Copy file name to clipboardexpand all lines: docs/content/guide/forms.ngdoc
+3-3
Original file line number
Diff line number
Diff line change
@@ -191,11 +191,11 @@ To get a hold of the controller the directive specifies a dependency as shown in
191
191
The validation can occur in two places:
192
192
193
193
* **Model to View update** -
194
-
Whenever the bound model changes, all functions in {@link ngModel.NgModelController#properties_$formatters NgModelController#$formatters} array are pipe-lined, so that each of these functions has an opportunity to format the value and change validity state of the form control through {@link ngModel.NgModelController#methods_$setValidity NgModelController#$setValidity}.
194
+
Whenever the bound model changes, all functions in {@link ngModel.NgModelController#properties_$formatters NgModelController#$formatters} array are pipe-lined, so that each of these functions has an opportunity to format the value and change validity state of the form control through {@link ngModel.NgModelController#$setValidity NgModelController#$setValidity}.
195
195
196
196
* **View to Model update** -
197
-
In a similar way, whenever a user interacts with a control it calls {@link ngModel.NgModelController#methods_$setViewValue NgModelController#$setViewValue}.
198
-
This in turn pipelines all functions in the {@link ngModel.NgModelController#properties_$parsers NgModelController#$parsers} array, so that each of these functions has an opportunity to convert the value and change validity state of the form control through {@link ngModel.NgModelController#methods_$setValidity NgModelController#$setValidity}.
197
+
In a similar way, whenever a user interacts with a control it calls {@link ngModel.NgModelController#$setViewValue NgModelController#$setViewValue}.
198
+
This in turn pipelines all functions in the {@link ngModel.NgModelController#properties_$parsers NgModelController#$parsers} array, so that each of these functions has an opportunity to convert the value and change validity state of the form control through {@link ngModel.NgModelController#$setValidity NgModelController#$setValidity}.
199
199
200
200
In the following example we create two directives.
0 commit comments