going through an angular.js tutorial