import { NgModule, ModuleWithProviders } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ToolBarComponent } from './toolbar.component';
import { MaterialModule } from '@angular/material';

@NgModule({
    imports: [  CommonModule, MaterialModule.forRoot() ],
    providers: [],
    declarations: [ToolBarComponent],    
    exports: [ToolBarComponent]    
})

/*    
* Titlebar module
***************************************************************/
export class ToolBarModule {
    forRoot():ModuleWithProviders {
        return {
          ngModule: ToolBarModule,
          providers: []
        }
    }
}