{"body":"            $urlRouterProvider.otherwise('');\n\n            $stateProvider.state(\"noEmployee\", {\n                url: \"\",\n                template: '',\n                controller: ['$rootScope', '$state', '$scope', 'userService',\n                    function ($rootScope, $state, $scope, userService) {\n                        userService.getCurrentUser().then(function (currentUser) {\n//                            $state.transitionTo('employee.personaldetails', { EmployeeID: currentUser.EmployeeID }, { reload: true });\n                            console.log(\"going\" + currentUser.EmployeeID);\n                            $state.go('employee.personaldetails', { EmployeeID: currentUser.EmployeeID });\n                        }.bind(this));\n                    }\n                ]\n            })","name":"","extension":"","url":"https://www.irccloud.com/pastebin/NpMp0dAz","modified":1418075396,"id":"NpMp0dAz","size":797,"lines":15,"own_paste":false,"theme":"","date":1418075396}