Simple exercise from angularjs.org