A sample of some thin controllers in Angular.js