I am using Angular ui-router and defined my routes. But the problem is it changes the state but also changes the url which is not really the intention of using ui-router. I am not sure what I am doing wrong here, need some suggestion on below code
app.config(['$stateProvider', '$urlRouterProvider', function ($stateProvider, $urlRouterProvider) {
$urlRouterProvider.otherwise('/');
$stateProvider
.state('ManageUser', {
url: '/manager-user',
templateUrl: '/app/user/manage_users.html'
})
.state('ManageUserSetting', {
url: '/user-setting',
templateUrl: '/app/user/settings_normal.html'
});
}]);