SyntaxFix
Write A Post
Hire A Developer
Questions
Try entering the url inside the function
$location.url('http://www.google.com')