File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -316,10 +316,10 @@ Here are three example cases.
316
316
When interpolating text or attributes:
317
317
318
318
```html
319
- <div name="attr: {{::color}}">text: {{::name}}</div>
319
+ <div name="attr: {{::color}}">text: {{::name | uppercase }}</div>
320
320
```
321
321
322
- When using a directive with bidirectional binding and the parameters will not change:
322
+ When using a directive with bidirectional binding and parameters that will not change:
323
323
324
324
```js
325
325
someModule.directive('someDirective', function() {
@@ -342,7 +342,6 @@ When using a directive that takes an expression:
342
342
343
343
```html
344
344
<ul>
345
- <li ng-repeat="item in ::items">{{item.name}};</li>
345
+ <li ng-repeat="item in ::items | orderBy:'name' ">{{item.name}};</li>
346
346
</ul>
347
- ```
348
-
347
+ ```
You can’t perform that action at this time.
0 commit comments