直接用UI-router比较方便。不用的话直接用angular的router进行跳转就好了$location
$scope.gotopage = function() { $location.path('/pageroot'); }