In this chapter, we transformed our application from a frontend app using hardcoded data into one that can interface with an API to store and retrieve information. We saw just how flexible Angular can be by taking a look at four different methods of connecting to a server.
Low-level services like
$http are great for some things, but when building a full-fledged application, we saw that it's wise to use something more high level. Things like
ngResource keep our code base maintainable and DRY (Don't Repeat Yourself).
In the next chapter, we'll expand upon the idea of keeping our code manageable by looking at two code runners: Grunt and gulp.