api calls working. able to retrive json object in angular.