Posted On: Feb 22, 2018
It is the most common type of dependency on AngularJS application. A service can be mocked in two ways by either getting an instance of actual service using an inject block or by implementing a mock service using $provide.
Never Miss an Articles from us.
Explain the architecture of AngularJS?..
What is the Template in AngularJS?..