Code from a 30 minute Angular.js tutorial.