factory(name, providerFunction);
See $provide.factory().
Parameters
| Param | Type | Details |
|---|---|---|
| name | string | service name |
| providerFunction | Function | Function for creating new instance of the service. |
See $provide.factory().
| Param | Type | Details |
|---|---|---|
| name | string | service name |
| providerFunction | Function | Function for creating new instance of the service. |
Please login to continue.