Igor Minar
6b564ecda5
feat(ngUpgrade): add support for NgModules
...
BREAKING CHANGE: UpgradeAdapter.addProvider are now deprecated in favor of passing in an NgModule into the adapter's constructor
Before:
```
let upgradeAdapter = new UpgradeAdapter();
upgradeAdapter.addProviders([myProvidersArray);
```
After:
```
@NgModule({
providers: myProvidersArray
})
class MyModule {}
let upgradeAdapter = new UpgradeAdapter(MyModule);
```
2016-08-08 12:17:35 -07:00
Miško Hevery
d4cceff0ef
chore: remove module aware bootstrap API ( #10543 )
...
This API was introduced post RC4, but needs to be removed
before RC5 as we have decided against it.
2016-08-08 09:36:09 -07:00
vsavkin
1a41bd1ca4
feature(router): add route.root returning the root of router state
2016-08-08 09:15:59 -07:00
vsavkin
5a99393355
fix(router): route.parent should work for secondary children
2016-08-08 09:15:59 -07:00
vsavkin
afcb3c0035
fix(router): support outlets in non-absolute positions
2016-08-08 09:15:59 -07:00
vsavkin
d2d36c61f3
fix(router): fix matrix params check to handle 'special' objects
2016-08-08 09:15:59 -07:00
Damien Cassan
0bd97ecda2
feat(http): add options method to Http ( #10540 )
...
Add options method to the Http object, which could be useful when using self-describing RESTful APIs.
This closes #10500 , closes #7918
2016-08-08 09:15:13 -07:00
Pawel Kozlowski
46bbcefb36
fix(linker): prevent pollution of empty embeddedView context ( #10548 )
...
Fixes #10045
2016-08-08 09:11:35 -07:00
Victor Berchet
74b57dfa7d
refactor(i18n): remove circular dep
2016-08-05 13:39:54 -07:00
Victor Berchet
8c9c0986e9
refatcor(digestMessage): takes a i18n.Message
2016-08-05 13:39:54 -07:00
Victor Berchet
4028fcaa51
refactor(i18n): Drop html.Message and create i18n.Message right away
2016-08-05 13:39:54 -07:00
Victor Berchet
7a8ef1eae5
feat(i18n): merge translations
2016-08-05 13:39:54 -07:00
Victor Berchet
e811a5d97f
refactor(i18n): misc updates
2016-08-05 13:39:54 -07:00
Victor Berchet
df44e3e425
fix(i18n extractor): array manipulation
2016-08-05 13:39:54 -07:00
Victor Berchet
cdb1a237e5
refactor(compiler): html_parser -> ml_parser
2016-08-05 13:39:54 -07:00
Kara
fcafdff10b
feat(forms): allow both patching and strict setting of values ( #10537 )
2016-08-05 13:35:17 -07:00
vsavkin
c586656d43
fix(router): fix type definition
2016-08-05 13:12:21 -07:00
vsavkin
3a307c2794
fix(router): absolute redirects should work with lazy loading
2016-08-05 13:12:21 -07:00
vsavkin
4f17dbc721
fix(router): add segmentPath to the link DSL
2016-08-05 13:12:21 -07:00
Jason Choi
99989f5d3f
chore(facade): remove most facade/async functions
2016-08-05 12:26:28 -07:00
Miško Hevery
0d1f3c3b07
fix: support trailing slash in basePath ( #10533 )
2016-08-05 11:11:24 -07:00
Jason Choi
83e2d3d1cb
refactor(RegExpWrapper): remove the facade ( #10512 )
2016-08-05 09:50:49 -07:00
Victor Berchet
b4613ab2d2
fix(ExpressionParser): undefined is undefined (was null)
2016-08-05 09:45:13 -07:00
Victor Berchet
0ca05eee45
feat(ExpressionParser): add support for this
2016-08-05 09:45:13 -07:00
Victor Berchet
26c9e1dc70
refactor(NgFor spec): code cleanup
2016-08-05 09:45:13 -07:00
Pawel Kozlowski
797cb5ae7b
refactor(NgStyleSpec): simplify NgStyle tests ( #10519 )
2016-08-05 09:28:08 -07:00
Brandon
63b82cd730
feat(router): Allow navigation without updating the URL ( #9608 )
2016-08-04 11:46:09 -07:00
Patrice Chalin
2b704f0586
fix(linker/compiler): rename const to avoid duplicate declaration ( #10457 )
...
Currently in the `linker/compiler.ts` file, the **same identifier** is used in **two declarations**:
```typescript
export type CompilerOptions = { … }
…
export const CompilerOptions = new OpaqueToken('compilerOptions');
```
This breaks the API doc generation. I’m surprised that this was not flagged by the tsc.
The duplicate declaration was introduced in https://github.com/angular/angular/commit/46b212706b9162c22fb1523032d7e37c9155015a .
2016-08-04 11:31:58 -07:00
Pawel Kozlowski
ce5ba80792
refactor(NgTemplateOutlet): simplify implementation ( #10492 )
2016-08-04 11:28:36 -07:00
Pawel Kozlowski
8b18ef4ba2
feat(NgStyle): add support for the style.unit notation ( #10496 )
...
Closes #10326
2016-08-04 11:00:43 -07:00