Closed fahad19 closed 6 years ago
withProvider( providerName, mapperFn, appName = null, )
providerName
mapperFn
appName
null
Multiple providers.
Should there be a plural withProviders function too, or reuse the same function?
withProviders
Beginning to feel less needed over time.
wont-do.
Expected API usage
providerName
: StringmapperFn
: Function that receives the provider value, and returns an Object or ObservableappName
: defaults tonull
for App in scope, or name of another Child AppThink about
Multiple providers.
Should there be a plural
withProviders
function too, or reuse the same function?