Thursday, November 5, 2015

AngularJS - What is the use of decorator method of $provide service ?

A service decorator intercepts the creation of a service, allowing it to override or modify the behaviour of the service. The object returned by the decorator may be the original service, or a new service object which replaces or wraps and delegates to the original service.

No comments:

Post a Comment