Thứ Ba, 17 tháng 2, 2015

Preview of the New Angular Router

We've been working on a new router for both Angular 1 and Angular 2, and while APIs are still in flux, we want your feedback on the new router in 1.x.

You can read the docs, browse the code on GitHub, and install it with npm install angular-new-router

There's still lots more work to be done, but we want to know what you think. You can help out by filing issues and questions on GitHub.

What about ngRoute?

ngRoute isn't going anywhere, but it's unlikely to receive new features.

What's next?

We've been making good progress on Angular 2 – last week we demoed a todo list app written with Angular 2 at our Mountain View meetup. Next will be writing bindings for Angular 2 for this routing system.

We're also working on a proposal for making lazy loading easier at the DI level in Angular 1. Once this lands, the new router will be able to help you lazy load parts of your Angular 1 app.

Không có nhận xét nào:

Đăng nhận xét