Angular Js Http Open Weather Map Example
arrays Getting JSON from Open Weather.. An example that gets JSON data from Open Weather Map: angular.module ('myApp').controller ('myVm', function ($scope, $http) { var vm = $scope; vm.lat=37, vm.lon=35; vm.getWeather = function (lat, lon) { console.log ("getWeather invoked with",lat,lon); if (vm.data == "pending") return ["pending"]; var url = 'http://api.openweathermap.

Уеб import { Injectable } from '@angular/core';.
Post a Comment for "Angular Js Http Open Weather Map Example"