For example, there is a button "Create" in my page, and it has ng-click attribute:
<button ng-click="create()">Create</button>
And in the create() function, I want to do something, then redirect to another route #/show, which is a client site route defined in angularjs:
function MyCtrl($scope) {
$scope.create = function() {
// do something
// how to redirect to `#/show`, another view and controller will be used
}
}