opened
samk-ayyagari
username_0
I am creating a generic stepper component which uses angular cdk . I want the header, footer , steps to passed through template references.

#### What is the expected behavior?
Stepper CDK Footer with cdkStepperPrevious, cdkStepperNext directives should work when passed through ngTemplateOutlet.

#### What is the current behavior?
Footer is not getting rendered with following error

preview-4adb70f742b91f09679fb.js:1 ERROR Error: StaticInjectorError(AppModule)[CdkStep -> CdkStepper]: 
  StaticInjectorError(Platform: core)[CdkStep -> CdkStepper]: 
    NullInjectorError: No provider for CdkStepper!
    at NullInjector.get (injector.ts:43)
    at resolveToken (injector.ts:346)
    at tryResolveToken (injector.ts:288)
    at StaticInjector.get (injector.ts:168)
    at resolveToken (injector.ts:346)
    at tryResolveToken (injector.ts:288)
    at StaticInjector.get (injector.ts:168)
    at resolveNgModuleDep (ng_module.ts:125)
    at NgModuleRef_.get (refs.ts:507)
    at resolveDep (provider.ts:423)
console.(anonymous function) @ preview-4adb70f742b91f09679fb.js:1
preview-4adb70f742b91f09679fb.js:1 Unable to display error. Open your browser's console to view.
console.(anonymous function) @ preview-4adb70f742b91f09679fb.js:1
preview-4adb70f742b91f09679fb.js:1 ERROR CONTEXT DebugContext_


#### What are the steps to reproduce?
https://stackblitz.com/edit/angular-bgyqqz-r8axmr


#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angualar: 7.2.15
CDK : 7.3.7
Typescript: 3.1.1
CDK Stepper footer through ngTemplateOutlet not working
issue
closed
josephperrott
username_1
issue
created
josephperrott
username_1
Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.
comment