I am getting an undefined error for $location. I've been staring at this for too long and need an extra pair of eyes to tell me what I am doing wrong. Thank you.
Controller Example:
myApp.controller('testCtrl', ['$scope', 'GeolocationSvc', '$http', '$location', function ($scope, geolocation, $http, $location, uiGmapGoogleMapApi)
$scope.test = function ($location){
$location.search('test', 0);
}
]);
Error:
Cannot read property 'search' of undefined