receive response to http GET request by ansularJS