Startup script for the mohistory app. Sets up listeners for UI-Router.
Dependencies:
| Name | Type | Description |
|---|---|---|
| $rootScope | AngularJS service for storing app wide scope |
|
| $state | UI-Router service which allows access to information regarding current router state |
|
| $stateParams | UI-Router service which provides access to route parameters |
|
| $transitions | UI-Router service manages transitions between states/routes |
|
| $window | AngularJS wrapper for the window object |
|
| $anchorScroll | AngularJS service controlling scroll behavior |
|
| $location | AngularJS service which tracks changes to the URL |
|
| $timeout | AngularJS service for async operations |