Fix issue #2 and support for Angular UI Router

1. Fix unknown and unused dependencies in applicationCtrl
2. Add support for Angular UI Router