In this chapter, we transformed our application from a single page into a multi-page view and multi-route app that we can build our contacts manager upon. We started by planning out the essential routes in our application before installing the requisite module.
We then looked at how we can use the
config method on our own module to set up our routes. This was done by injecting the
$routeProvider service and using the when and other methods provided. This allowed us to set up static and dynamic routes containing parameters.
Finally, we looked at how we can remove the
# symbol from the URL using HTML5's
pushState and how we can link both types of routes. In the next chapter, we'll populate our partials with layouts we'll be building using ...