Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit 02ef344

Browse files
committed
docs(ng-bind): Edits for dartdoc format
1 parent 2b49054 commit 02ef344

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

lib/directive/ng_bind.dart

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
part of angular.directive;
22

33
/**
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.
76
*
87
* 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.
109
*
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
1211
* 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
1413
* invisible to the user while the page is loading.
1514
*
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.
1716
*/
1817
@Decorator(
1918
selector: '[ng-bind]',

0 commit comments

Comments
 (0)