docs(SlicePipe): fix ng-for example

Closes #4975
This commit is contained in:
Jesús Rodríguez Rodríguez 2015-10-28 12:40:02 +01:00
parent bdd031aecc
commit 3ed9796425
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ import {Pipe} from '../metadata';
*
* Assuming `var collection = ['a', 'b', 'c', 'd']`, this `ng-for` directive:
*
* <li *ng-for="var i in collection | slice:1:3">{{i}}</li>
* <li *ng-for="var i of collection | slice:1:3">{{i}}</li>
*
* produces the following:
*