angular karma unit test using $httpBackend + $resource without bootstrapping with module
问题 Requirements Angular based REST client component Must interact between a private API and services Karma/Jasmine test does not bootstrap app module Current dilemma We do not want to bootstrap the entire application for unit tests (using module() or angular.mock.module()). It does not seem sustainable for an enterprise level application, even though Angular's component registration is a useful feature. All the examples I have found do it this way, however per our current business objectives, I