fix $http.getJSON to $http.get