Shaping up with angular.js