ui-router / quickstart-ng2

DEPRECATED -- See https://github.com/ui-router/quickstart-angular
https://github.com/ui-router/quickstart-angular
MIT License
64 stars 20 forks source link

Upgrade to Angular 2 rc.5 #7

Closed demisx closed 8 years ago

demisx commented 8 years ago

Angular 2 RC.5 has changed a few things around introducing a bunch of breaking changes. Currently, it represents the expected public API of the 2.0 release according to the Angular dev team. Would be very helpful to have this Quickstart UI Router app upgraded to support the ngModule based rc.5 release.

christopherthielen commented 8 years ago

Yep, I'm working on it. rc.5 introduced some breaking changes for ui-router (also totally changed how apps should be bootstrapped)

demisx commented 8 years ago

Thank you for excellent news Chris. :+1: We are refactoring our rc.4 app as well.

kolkov commented 8 years ago

Hi! Thank you for your work, @christopherthielen I was started my new big project on Angular1 and ui-router one month ago, but now I'm trying to completely rewrite it on Angular2 and ui-router-ng2. I look forward to updates!

demisx commented 8 years ago

@christopherthielen Any rough ETA on this? Don't mean to rush, just trying to get an idea for some internal planning. Thank you for all your excellent work.

christopherthielen commented 8 years ago

Before next Friday; hopefully sooner

reyramos commented 8 years ago

I've submitted a pull request with updated module to RC5, check it out

reyramos commented 8 years ago

Provided a webpack example forked from this repo, thanks for the quickstart.

christopherthielen commented 8 years ago

@reyramos thanks for PR.

There are some major changes for ui-router-ng2 bootstrap coming soon because of NgModule!

christopherthielen commented 8 years ago

ui-router 1.0.0-beta.2 is released with NgModule support.

https://github.com/ui-router/quickstart-ng2/blob/2997ec4baa263e5b37881d5e6dbdbb1f589da384/src/app.module.ts#L12-L43

Lazy loading of NgModule is now supported. See:

demisx commented 8 years ago

Thank you so much for upgrading to the latest Angular 2 rc6!