How to ensure that AngularJS works well with the backend

In the previous chapter, we introduced some of the web service methods that support AngularJS applications with very few code modifications compared to the implementation without web services. We chose to ignore some inherent complications associated with calling web services, but now we will address them in the following sections.

Handling the waiting time for long operations

Calling a web service method usually has an overhead that is caused by the transport of data to and from the server. When the data operations are also relatively expensive on the server, your application might end up waiting for data for a duration of time that is perceived as significant by the user. In this scenario, ...

Get Learning AngularJS for .NET Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.