Thanks all for the help @reedrichards and @garrykapoor! I got it working with this:
ngOnInit() { this.initLoader(); this.isLoading$ = this.store.let(fromRoot.getIaReportsIsLoading); this.isLoading$.subscribe((currentLoading: boolean) => { currentLoading ? this.presentLoader() : this.closeLoader() }); };
initLoader(){
this.loader = this.loadingCtrl.create({
content: "Please wait while we load all Interaction Reports and Clients for you...",
});
};
presentLoader() {
this.loader.present()
};
closeLoader(){
this.loader.dismiss();
}