W3cubDocs

/Angular 2

WORKER_APP_LOCATION_PROVIDERS

Experimental Const

Variable Export

export WORKER_APP_LOCATION_PROVIDERS

Those providers should be added when the router is used in a worker context in addition to the ROUTER_PROVIDERS and after them.

exported from @angular/platform-webworker/index defined in @angular/platform-webworker/src/web_workers/worker/location_providers.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/platform-webworker/index/WORKER_APP_LOCATION_PROVIDERS-let.html