I\'m building an ng2 application using ngrx. When the app is launched a web service is called to get initial data, once this data is fetched I create an INIT_DONE a
You could select documents from the store and subscribe to it and emit your action from there:
ngOnInit() { this.store.select("documents").subscribe(documents => { this.paramSubscription = this.route.params .select('id') .map((id) => new SelectAction(id)) .subscribe(this.store); }); }