AngularJS code used in the tutorial I wrote for the Software Developer's Journal