Implementing a Weather Service View

With the tabbed views in place, you can begin implementing the other components, starting with the weather view. The weather view part of this example illustrates using a backend service to connect to the openweathermap.com website and retrieve weather for a specific city. Using the backend server to access remote sites can be useful if there are cross-domain issues with the browser, to format the remote data before sending it to the client, etc.

The following sections take you through the process of implementing the backend server, the AngularJS controller to connect to the backend server, and the actual HTML view.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.60.166