Skip to content

Commit

Permalink
fix(changelog): fix ngFor on template
Browse files Browse the repository at this point in the history
Closes #5785
  • Loading branch information
tuurbo authored and IgorMinar committed Dec 10, 2015
1 parent 30e25ac commit 3190c59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/angular2/docs/migration/kebab-case.md
Expand Up @@ -38,7 +38,7 @@ Notes:
- `<my-cmp (my-event)="action()">` should be changed to `<my-cmp (myEvent)="action()">`,
- `<my-cmp [(my-prop)]="prop">` should be changed to `<my-cmp [(myProp)]="prop">`,
- `<input #my-input>` should be changed to `<input #myInput>`,
- `<template ng-for #my-item [ng-for-of]=items #my-index="index">` should be changed to `<template ngFor="#my-item" [ngForOf]=items #myIndex="index">`,
- `<template ng-for #my-item [ng-for-of]=items #my-index="index">` should be changed to `<template ngFor #my-item [ngForOf]=items #myIndex="index">`,

Note: while the tag names are now case-sensitive the best practice is to keep them lower-dash-cased so that the browser
treat them as custom elements. Using dashes in custom element names is required by the [Custom Element HTML Spec](http://www.w3.org/TR/custom-elements/#concepts).
Expand Down

0 comments on commit 3190c59

Please sign in to comment.