Skip to content Skip to sidebar Skip to footer

Angularjs Open Weather Map Api Example

How to get data from OpenWeatherMap API, with Angular 7,.. Уеб  import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { map } from @Injectable ( { providedIn: 'root' }) export.

How to get data from OpenWeatherMap API, with Angular 7,.
How to get data from OpenWeatherMap API, with Angular 7,. from developer.ibm.com

Then in your controller. .controller ('OpenWeather', ['$scope', 'weatherService', function ($scope, weatherService) { weatherService.getWeather ().then (function (data) { $scope.city = data; }) With this you can access any data from the json file and display it in your view.

Post a Comment for "Angularjs Open Weather Map Api Example"