Code examples for Chapter 3 of Ionic in Action.