Removed unnecessary $locationProvider calls