import { createSelector } from '@ngrx/store' ; import * as fromFeature from '../reducers' ; export const getUser = createSelector ( fromFeature . coreState , ( state ) => state . user ) ; export const authorizationHeader = createSelector ( getUser , fromFeature . getAuthorizationHeader ) ;