$couchPotatoProvider (service in module scs.couch-potato )

Description

Injects and retains references to providers that will be used by the $couchPotato service at run-time.

It is mandatory that you inject the provider before your app's module.run is called (e.g. in module.config).

Dependencies

Example

myModule.config(
  [
    '$couchPotatoProvider', 'myOtherProvider',
    function($couchPotatoProvider, myOtherProvider) {
      myOtherProvider.config = { someParam: 'demo' };
      // $couchPotatoProvider needs no specific configuration
    }
  ]
);

See the couch-potato module documentation to learn how to load the module.