Testing AngularJS controllers.