test angularjs service, provider, factory