Summary

In this chapter, we discussed how to communicate with the server using the $http AngularJS service. A web application is the mode of communication between the client and server using the HTTP protocol, where the server is responsible for serving web pages. The client, which is web browser, requests web pages from the server, receives the server's response, and displays it to the user. The user uses the client (web browser) to display the web pages, watch videos online, and so on. We also talked about how to retrieve data from the server using $http.get and post data to server using $http.post. Later in this chapter, we showed the use of the $resource for a RESTful service. At the end of this chapter, we talked about AngularJS application authentication and authorization.

In Chapter 5, Creating Applications Using AngularJS, Entity Framework, and ASP.NET Web API, we will talk about how to create the web API and connect to the database using the Entity framework.

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

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