changed http request method

changed from jquery ajax jsonp request to angularjs $http.jsonp