Pawel Kozlowski
df6d2d1e23
refactor(examples): remove imports from 'angular2/angular2'
...
Closes #5803
2015-12-10 21:45:58 +00:00
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
vsavkin
79472b77ca
refactor(core): move facades out of core
...
This is part of ongoing work to make core platform-independent.
BREAKING CHANGE
All private exports from 'angular2/src/core/facade/{lang,collection,exception_handler}' should be replaced with 'angular2/src/facade/{lang,collection,exception_handler}'.
2015-11-07 01:36:06 +00:00
Vamsi V
7d83959be5
refactor(router): rename "as" to "name" in RouteConfig
...
BREAKING CHANGE:
This is a rename to make routing concepts easier to understand.
Before:
```
@RouteConfig([
{ path: '/', component: MyCmp, as: 'Home' }
])
```
After:
```
@RouteConfig([
{ path: '/', component: MyCmp, name: 'Home' }
])
```
Closes #4622
Closes #4896
2015-10-29 10:52:55 -07:00
Brian Ford
cc37d0a7fa
chore(router): use new provide API in examples
2015-10-29 10:52:54 -07:00
Brian Ford
4fe17923cf
docs(router): move examples into own file and add tests
...
Closes #4620
2015-10-27 14:12:56 +00:00