Reset repository for AngularJS