Repository for tests with angularjs