Key elements of Angular.js

Before we get into how promises are implemented in Angular.js, we will first look at the key elements of Angular.js and how they work for us.

Within this section, you will learn the key elements of Angular.js. The skills acquired will be used in the forthcoming sections of this chapter. You will then be able to apply the concepts of promises in Angular.js and write your own custom-made promises in Angular.js as per your need.

The most common elements we will discuss are:

  • Supplying scope data
  • Filtering output
  • Controlling scopes
  • Routing views

Supplying scope data

We will play around with the frontend HTML, CSS, and JavaScript to display the results in the browser. We will also get bootstrap from http://getbootstrap.com/getting-started/#download ...

Get Mastering JavaScript Promises now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.