AngularJS lab rewritten is coffeescript