What is a Mocked Service in AngularJs? How to use it?

devquora
devquora

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.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions