Example code I used in the AngularJS University session at Devoxx 2013 in Antwerp