Added ui-router support

* Added [ui-router](https://github.com/angular-ui/ui-router/) support. 
* Bumped up the version to 0.4.0 and added AngularJS instructions to the README. 

[ui-router](https://github.com/angular-ui/ui-router/wiki/Quick-Reference#wiki-events-1) uses `$stateChangeStart` and `$stateChangeSuccess` rather than ngRoute's `$routeChangeStart` and `$routeChangeSuccess`. Both use `$viewContentLoaded`.