This is some sample code for the "AngularJS in the frontend" talk