simple angular.js app based on codeschool tutorial