Use $location.path('/auth/ + provider);