AngularJS testing repository 1