This repository was archived by the owner on Feb 22, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 1
1
part of angular.directive;
2
2
3
3
/**
4
- * The ngBind attribute tells Angular to replace the text content of the
5
- * specified HTML element with the value of a given expression, and to update
6
- * the text content when the value of that expression changes.
4
+ * Replaces the text content of the specified HTML element with the value of a given expression,
5
+ * and updates the text content when the value of that expression changes.
7
6
*
8
7
* Typically, you don't use ngBind directly, but instead you use the double
9
- * curly markup like {{ expression }} which is similar but less verbose.
8
+ * curly markup like ` {{ expression }}` which is similar but less verbose.
10
9
*
11
- * It is preferrable to use ngBind instead of {{ expression }} when a template
10
+ * It is preferrable to use `ng-bind` instead of ` {{ expression }}` when a template
12
11
* is momentarily displayed by the browser in its raw state before Angular
13
- * compiles it. Since ngBind is an element attribute, it makes the bindings
12
+ * compiles it. Since `ng-bind` is an element attribute, it makes the bindings
14
13
* invisible to the user while the page is loading.
15
14
*
16
- * An alternative solution to this problem would be using the ngCloak directive.
15
+ * An alternative solution to this problem would be using the [ ngCloak] directive.
17
16
*/
18
17
@Decorator (
19
18
selector: '[ng-bind]' ,
You can’t perform that action at this time.
0 commit comments