Removed use of $locationProvider