Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit a808916

Browse files
brianjscolespkozlowski-opensource
authored andcommitted
docs(guide/Expressions): fix grammar, flow and punctuation
Closes #10384
1 parent d8e3707 commit a808916

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/content/guide/expression.ngdoc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,14 +298,16 @@ then the expression is not fulfilled and will remain watched.
298298

299299
### How to benefit from one-time binding
300300

301-
When interpolating text or attributes. If the expression, once set, will not change
302-
then it is a candidate for one-time expression.
301+
If the expression will not change once set, it is a candidate for one-time binding.
302+
Here are three example cases.
303+
304+
When interpolating text or attributes:
303305

304306
```html
305307
<div name="attr: {{::color}}">text: {{::name}}</div>
306308
```
307309

308-
When using a directive with bidirectional binding and the parameters will not change
310+
When using a directive with bidirectional binding and the parameters will not change:
309311

310312
```js
311313
someModule.directive('someDirective', function() {
@@ -324,7 +326,7 @@ someModule.directive('someDirective', function() {
324326
```
325327

326328

327-
When using a directive that takes an expression
329+
When using a directive that takes an expression:
328330

329331
```html
330332
<ul>

0 commit comments

Comments
 (0)