Code for the the Pro Angular JS book