angular-docs-cn/modules/angular2/docs/cheatsheet
Victor Berchet da9b46a071 feat: camelCase Angular (kebab-case removal)
BREAKING CHANGE:

Angular is now fully camel case.

Before:

    <p *ng-if="cond">
    <my-cmp [my-prop]="exp">
    <my-cmp (my-event)="action()">
    <my-cmp [(my-prop)]="prop">
    <input #my-input>
    <template ng-for #my-item [ng-for-of]=items #my-index="index">

After

    <p *ngIf="cond">
    <my-cmp [myProp]="exp">
    <my-cmp (myEvent)="action()">
    <my-cmp [(myProp)]="prop">
    <input #myInput>`,
    <template ngFor="#my-item" [ngForOf]=items #myIndex="index">

The full details are found in [angular2/docs/migration/kebab-case.md](https://github.com/angular/angular/blob/master/modules/angular2/docs/migration/kebab-case.md)
2015-12-09 19:59:40 -08:00
..
bootstrapping.md docs(cheatsheet): update to new syntax 2015-12-09 19:04:08 +00:00
built-in-directives.md feat: camelCase Angular (kebab-case removal) 2015-12-09 19:59:40 -08:00
class-decorators.md docs(cheatsheet): add Dart-specific syntax & headings 2015-12-09 23:05:23 +00:00
component-configuration.md docs(cheatsheet): update to new syntax 2015-12-09 19:04:08 +00:00
dependency-injection.md docs(cheatsheet): add Dart-specific syntax & headings 2015-12-09 23:05:23 +00:00
directive-and-component-decorators.md docs(cheatsheet): add Dart-specific syntax & headings 2015-12-09 23:05:23 +00:00
directive-configuration.md docs(cheatsheet): add Dart-specific syntax & headings 2015-12-09 23:05:23 +00:00
forms.md feat: camelCase Angular (kebab-case removal) 2015-12-09 19:59:40 -08:00
lifecycle hooks.md docs(cheatsheet): add Dart-specific syntax & headings 2015-12-09 23:05:23 +00:00
routing.md feat: camelCase Angular (kebab-case removal) 2015-12-09 19:59:40 -08:00
template-syntax.md feat: camelCase Angular (kebab-case removal) 2015-12-09 19:59:40 -08:00