Kata 2 in the AngularJS Dojo