use $location.url([url]) instead to redirect without parameters