O'Reilly logo

Mastering AngularJS for .NET Developers by Mohammad Wadood Majid, Golrokh Mirzaei

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Communicating with the Server Using AngularJS

This chapter mainly focuses on how AngularJS communicates with server-side code, such as web APIs, web services, or Data Access Layer (DAL). In this chapter, we will discuss how to retrieve data from the server using $http and $resources. This chapter also talks about the authentication and security of an AngularJS application.

This chapter is organized as follows:

  • Communicating with the server using $http:
    • GET
    • POST
    • HEAD
    • DELETE
    • PUT
    • JSONP
    • PATCH
  • Communicating with RESTful services
  • Authentication
  • Securing applications

Communicating with the server using $http

A web application is the communication between a client and server made using the HTTP protocol where the server is responsible for serving web pages. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required