I am using AngularJS 1.3. I have to rewrite url using $urlRouterProvider.otherwise() so that it can correctly map to a defined state.
So e.g., if I have url http://localh