generator-cg-angular15 icon indicating copy to clipboard operation
generator-cg-angular15 copied to clipboard

UI Router

Open eknowles opened this issue 8 years ago • 3 comments

Love the project! However, I think it's missing the ability to use uirouter instead of ngRoute. I'm sure others would agree.

I can contribute if it's not already being worked on https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/angular-ui-router/angular-ui-router.d.ts

eknowles avatar Nov 30 '16 12:11 eknowles

Hi @eknowles, I already started on enabling ui-router support a couple of months ago. Maybe we can continue on my fork to complete it together (https://github.com/Boosten/generator-cg-angular15)

kevinboosten avatar Nov 30 '16 21:11 kevinboosten

I think I saw that @cgross left some code for the ui-router option from the old generator in this new one. You can check cg-angular to get inspired for your fork.

rbosneag avatar Nov 30 '16 21:11 rbosneag

actually I was thinking of importing the new Angular 1.5 component router in my fork (not published) but the component router became deprecated and was awaiting for some changes in the Angular 2 router. It fits much better in a component architecture than the good ol' ui-router but I don't know if it's available yet.

rbosneag avatar Nov 30 '16 21:11 rbosneag