import { provide } from 'angular2/core' ; import { FORM_PROVIDERS } from 'angular2/common' ; import { HTTP_PROVIDERS } from 'angular2/http' ; import { MATERIAL_PROVIDERS } from './angular2-material2' ; import { installSagaMiddleware } from 'store-saga' ; import { loggerMiddleware } from 'ngrx-store-logger' ; const THIRDPARTY_PROVIDERS = [ installSagaMiddleware ( ) , ... loggerMiddleware ( ) ] ; export const APPLICATION_PROVIDERS = [ ... FORM_PROVIDERS , ... HTTP_PROVIDERS , ... MATERIAL_PROVIDERS , ... THIRDPARTY_PROVIDERS ] ; export const PROVIDERS = [ ... APPLICATION_PROVIDERS ] ;