doc: fix inline docs

This commit is contained in:
Victor Berchet 2015-05-13 11:30:59 +02:00
parent 909233f724
commit 8b6fa1cf19
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ export class View {
* directives: [For]
* template: '
* <ul>
* <li *ng-for="item in items">{{item}}</li>
* <li *ng-for="#item of items">{{item}}</li>
* </ul>'
* })
* class MyComponent {

View File

@ -31,7 +31,7 @@ import {ListWrapper} from 'angular2/src/facade/collection';
* # Syntax
*
* - `<li *ng-for="#item of items; #i = index">...</li>`
* - `<li template="ng-for #item ng-for-of items; #i=index">...</li>`
* - `<li template="ng-for #item of items; #i=index">...</li>`
* - `<template [ng-for]="#item" [ng-for-of]="items" #i="index"><li>...</li></template>`
*
* @exportedAs angular2/directives