setUpLocationSync

Sets up a location synchronization.

查看"说明"...

说明

History.pushState does not fire onPopState, so the Angular location doesn't detect it. The workaround is to attach a location change listener