added reading array resource from AngularJS and returning the correct JSON from api.openweathermap