doc: fix inline docs
This commit is contained in:
parent
909233f724
commit
8b6fa1cf19
@ -62,7 +62,7 @@ export class View {
|
|||||||
* directives: [For]
|
* directives: [For]
|
||||||
* template: '
|
* template: '
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li *ng-for="item in items">{{item}}</li>
|
* <li *ng-for="#item of items">{{item}}</li>
|
||||||
* </ul>'
|
* </ul>'
|
||||||
* })
|
* })
|
||||||
* class MyComponent {
|
* class MyComponent {
|
||||||
|
2
modules/angular2/src/directives/ng_for.js
vendored
2
modules/angular2/src/directives/ng_for.js
vendored
@ -31,7 +31,7 @@ import {ListWrapper} from 'angular2/src/facade/collection';
|
|||||||
* # Syntax
|
* # Syntax
|
||||||
*
|
*
|
||||||
* - `<li *ng-for="#item of items; #i = index">...</li>`
|
* - `<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>`
|
* - `<template [ng-for]="#item" [ng-for-of]="items" #i="index"><li>...</li></template>`
|
||||||
*
|
*
|
||||||
* @exportedAs angular2/directives
|
* @exportedAs angular2/directives
|
||||||
|
Loading…
x
Reference in New Issue
Block a user