r/javascript • • Mar 18 '14

Angular 2.0

http://blog.angularjs.org/2014/03/angular-20.html
104 Upvotes

40 comments sorted by

View all comments

1

u/ztbrown Mar 18 '14

Angular should replace its router with ui-router. Why reinvent the wheel?

1

u/ZeroMomentum Mar 19 '14

I think because of "Integration with authentication and authorization". I don't think ui-router does that at all right?

Also Ui-router basically has the

$stateProvider.state(/*.....*/)

From what I understand and have done is use a namespace key for the states. So I think the google angular team is trying to have this whole implementation tied to the set of controllers? Since states lineage and controllers are kind of inherently tied.