O'Reilly logo

Learning Web Development with Bootstrap and AngularJS by Stephen Radford

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 6. CRUD

Until now, everything we've done has either been exploring Angular's paradigms or building the structure of our web app using Bootstrap. In this chapter, we're going to use the ideas and concepts we've studied over the course of the book to make our app work.

CRUD stands for Create, Read, Update, and Delete—everything we need to build a functional contact manager. We'll look at each letter of this acronym in detail and see how we can take full advantage of Angular.

Read

For the time being, we're going to ignore create and skip straight to read. We're going to use dummy data in the form of an array of objects in our controller. Let's first look at how this data is going to be formatted, and exactly what we need to include:

.controller('indexCtl', ...

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