O'Reilly logo

Pro AngularJS by Adam Freeman

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 5

image

JavaScript Primer

In this chapter I provide a quick tour of the most important features of the JavaScript language, as they apply to this book. I don’t have the space to describe JavaScript completely, but I have focused on the essentials that you’ll need to get up to speed and follow the examples in this book. In addition to the most important core JavaScript language features, I describe the set of utility methods that AngularJS provides.

I finish this chapter by demonstrating how JavaScript promises work. A promise represents an asynchronous task, such as an Ajax request, and they are widely used in AngularJS apps, which is a topic ...

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