填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

@angular/router/upgrade

Provides support for upgrading routing applications from Angular JS to Angular.

入口点的导出

函数

setUpLocationSync

Sets up a location change listener to trigger history.pushState. Works around the problem that onPopState does not trigger history.pushState. Must be called after calling UpgradeModule.bootstrap.

类型

RouterUpgradeInitializer

Creates an initializer that sets up ngRoute integration along with setting up the Angular router.