How to use the @angular/flex-layout.FlexLayoutModule.forRoot function in @angular/flex-layout

To help you get started, we’ve selected a few @angular/flex-layout examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github implustech / famn / client / app / module / mod.module.ts View on Github external
ModuleService,
  NavigationService,
  VersionService,
]

@NgModule({
  declarations: [
    ModComponent,
    FooterComponent,
    HomeComponent,
  ],
  imports: [
    HttpModule,
    CommonModule,
    MaterialModule.forRoot(),
    FlexLayoutModule.forRoot(),
    RouterModule.forChild(ROUTES),
  ],
  providers: [
    ...APP_PROVIDERS,
    // SocketService,
    // AuthGuard
  ]
})

export class ModModule {
  constructor() { }
}
github Vintharas / talk-angular-material / src / app / app.module.ts View on Github external
declarations: [
    AppComponent,
    SettingsDialogComponent,
    AddMessageComponent
  ],
  entryComponents: [
    AppComponent,
    SettingsDialogComponent,
    AddMessageComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule,
    MaterialModule,
    FlexLayoutModule.forRoot()
  ],
  providers: [
    ModelsService
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }



// Copyright 2016 Google Inc. All Rights Reserved.
// Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license
github implustech / famn / client / app / app.module.ts View on Github external
}
    return reducer(state, action)
  }
}

const rootReducer = compose(stateSetter, combineReducers)({
  message
})

let imports = [
  BrowserModule,
  FormsModule,
  HttpModule,
  CommonModule,
  MaterialModule.forRoot(),
  FlexLayoutModule.forRoot(),
  RouterModule.forRoot(ROUTES, {
    useHash: true
  }),

  // StoreLogMonitorModule,
  StoreModule.provideStore(rootReducer)
]

// Enable HMR and ngrx/devtools in hot reload mode
if (process.env.NODE_ENV === 'development') imports.push(...[
  StoreDevtoolsModule.instrumentStore({
    monitor: useLogMonitor({
      visible: false,
      position: 'right'
    })
  }),
github OpenVidu / openvidu / openvidu-sample-app / src / angular / frontend / src / app / app.module.ts View on Github external
declarations: [
    AppComponent,
    PresentationComponent,
    DashboardComponent,
    LessonDetailsComponent,
    ProfileComponent,
    VideoSessionComponent,
    ErrorMessageComponent,
    JoinSessionDialogComponent,
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule,
    MaterialModule,
    FlexLayoutModule.forRoot(),
    routing,
  ],
  providers: [
    AuthenticationService,
    UserService,
    LessonService,
    VideoSessionService,
    AuthGuard,
  ],
  entryComponents: [
    JoinSessionDialogComponent,
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }
github alvachien / acgallery / src / acgallery / elder_app / scripts / app.module.ts View on Github external
import { AuthService }   from './services/auth.service';
import { HomeComponent }  from './home/home.component';

@NgModule({
    imports: [
        BrowserModule,
        FormsModule,
        HttpModule,
        routing,
        TranslateModule.forRoot({
            provide: TranslateLoader,
            useFactory: (http: Http) => new TranslateStaticLoader(http, '/app/locales/', '.json'),
            deps: [Http]
        }),
        MaterialModule.forRoot(),
        FlexLayoutModule.forRoot(),
        AlbumModule,
        PhotoModule
    ],
    declarations: [
        AppComponent,
        CreditsComponent,
        AboutComponent,
        HomeComponent,
        ForbiddenComponent,
        UnauthorizedComponent
    ],
    providers: [
        appRoutingProviders,
        DialogService,
        //LoginService
        AuthService,
github implustech / famn / client / app / module / message / message.module.ts View on Github external
import 'ag-grid/dist/styles/theme-material.css'


import { MessageComponent } from './message.component'

import { ROUTES } from './message.routes'

@NgModule({
  declarations: [
    MessageComponent,
  ],
  imports: [
    CommonModule,
    FormsModule,
    MaterialModule.forRoot(),
    FlexLayoutModule.forRoot(),
    AgGridModule.withComponents([]),
    RouterModule.forChild(ROUTES),
  ]
})
export class MessageModule {
  constructor() { }
}
github plone / plone.restapi-angular / src / integration.spec.ts View on Github external
beforeEach(async(() => {
    TestBed.configureTestingModule({
      declarations: [
        AppComponent,
        CustomViewView,
        CustomNavigation,
      ],
      imports: [
        RESTAPIModule,
        MaterialModule.forRoot(),
        FlexLayoutModule.forRoot(),
      ],
      providers: [
        { provide: APP_BASE_HREF, useValue: '/' },
        {
          provide: CONFIGURATION, useValue: {
            BACKEND_URL: 'http://fake/Plone',
          }
        },
      ],
    }).compileComponents();
  }));