Support for autoTrackVirtualPages when using ui-router

When using https://github.com/angular-ui/ui-router the autoTrackVirtualPages doesn't work because it doesn't emit the same event when changing to a new route.

This is a proposal for supporting autoTrackVirtualPages when using ui-router.