test: generating an AngularJS controller