import { CommonModule } from '@angular/common' ; import { NgModule , ModuleWithProviders } from '@angular/core' ; import { WizardComponent } from './components/wizard.component' ; import { WizardNavigationBarComponent } from './components/wizard-navigation-bar.component' ; import { WizardStepComponent } from './components/wizard-step.component' ; import { WizardCompletionStepComponent } from './components/wizard-completion-step.component' ; import { ProgressBarComponent } from './components/progress-bar.component' ; import { NextStepDirective } from './directives/next-step.directive' ; import { PreviousStepDirective } from './directives/previous-step.directive' ; import { OptionalStepDirective } from './directives/optional-step.directive' ; import { GoToStepDirective } from './directives/go-to-step.directive' ; import { WizardStepTitleDirective } from './directives/wizard-step-title.directive' ; import { EnableBackLinksDirective } from './directives/enable-back-links.directive' ; import { WizardStepDirective } from './directives/wizard-step.directive' ; import { WizardCompletionStepDirective } from './directives/wizard-completion-step.directive' ; import { StepNumberDirective } from './directives/step-number.directive' ; author Marc Arndt
  @ NgModule ( { declarations : [ WizardComponent , WizardStepComponent , WizardNavigationBarComponent , WizardCompletionStepComponent , ProgressBarComponent , GoToStepDirective , NextStepDirective , PreviousStepDirective , OptionalStepDirective , WizardStepTitleDirective , EnableBackLinksDirective , WizardStepDirective , WizardCompletionStepDirective , StepNumberDirective , ] , imports : [ CommonModule ] , exports : [ WizardComponent , WizardStepComponent , WizardNavigationBarComponent , WizardCompletionStepComponent , ProgressBarComponent , GoToStepDirective , NextStepDirective , PreviousStepDirective , OptionalStepDirective , WizardStepTitleDirective , EnableBackLinksDirective , WizardStepDirective , WizardCompletionStepDirective , StepNumberDirective , ] , } ) export class WizardModule { static forRoot ( ) { return { ngModule : WizardModule , providers : [ ] } ; } }