I\'m using ngrx store to record state, my state currently holds my list of accounts and the current page (for paging).
On my list of accounts component i call the st
subscribe to get result as number:
let currentPageSub :Subscription; ... this.currentPageSub = this.store.select(getCurrentPage).subscribe( (page: number) => { this.currentPage$=page; } );