In fact $location.path direct you to #/auth/facebook and not /auth/facebook .. Though I used an 'a' tag so it's useless now.