mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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)
11 lines
275 B
HTML
11 lines
275 B
HTML
<div>
|
|
<h2 class="page-title">Drafts</h2>
|
|
|
|
<ol class="inbox-list">
|
|
<li *ngFor="#item of items" class="inbox-item-record">
|
|
<a id="item-{{ item.id }}"
|
|
[routerLink]="['/DetailPage', {'id':item.id}]">
|
|
{{ item.subject }}</a>
|
|
</li>
|
|
</ol>
|
|
</div>
|