Skip to content

Commit

Permalink
docs(guide/expressions): include filters in one-time binding examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Narretz committed Jun 4, 2015
1 parent 40b2728 commit 500b0f6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/content/guide/expression.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -316,10 +316,10 @@ Here are three example cases.
When interpolating text or attributes:

```html
<div name="attr: {{::color}}">text: {{::name}}</div>
<div name="attr: {{::color}}">text: {{::name | uppercase}}</div>
```

When using a directive with bidirectional binding and the parameters will not change:
When using a directive with bidirectional binding and parameters that will not change:

```js
someModule.directive('someDirective', function() {
Expand All @@ -342,7 +342,6 @@ When using a directive that takes an expression:

```html
<ul>
<li ng-repeat="item in ::items">{{item.name}};</li>
<li ng-repeat="item in ::items | orderBy:'name'">{{item.name}};</li>
</ul>
```

```

0 comments on commit 500b0f6

Please sign in to comment.