1.0.0-alpha.3
Pre-release
Pre-release
·
753 commits
to master
since this release
(2016-04-03) diff
Note: 1.0.0-alpha.2 and 1.0.0-alpha.3 are identical.
Angular 2
This is the first UI-Router release with angular 2 support.
See quickstart-ng2 for a small ui-router-ng2 app
The first pass at ng2 docs may be found here
NG2 support is a work in progress.
In particular, only hashbang routing is supported at the moment.
Also, injecting resolves and transition hooks is currently only possible using the angular1 style string-based injection. Any global providers that you want injected into a resolve or hook should be mapped to a string. See this example for how to do that.
Bug Fixes
- ViewHooks: Avoid calling $onInit if angular 1.5 will call it for us (d42b617), closes #2660
- ViewHooks: Fix problem with injecting uiCanExit (76ab22d), closes #2661
- view: temporary sanity check that a node exists (1c0edeb), closes #2657
- justjs.$q: Fix $q.all([..]) and $q.all({...}) (b1624c6)
- ng2.uiSref: Fix anchor href generation (98b5b42)
- ng2.uiSrefStatus: calculate target state parameters (46cdf4c)
- ng2.uiView: Dispose prev comp on empty viewconfig (f28e0c3)