Doesn't work with AOT, gives private property error
Closed this issue · 3 comments
It works with JIT, but when using AOT compilation it gives error "Property 'steps' is private and only accessible within class 'WizardComponent'"
Full error details:
Property 'steps' is private and only accessible within class 'WizardComponent'.
Property 'isCompleted' is private and only accessible within class 'WizardComponent'.
Property 'hasPrevStep' is private and only accessible within class 'WizardComponent'.
Property 'activeStep' is private and only accessible within class 'WizardComponent'.
Property 'hasNextStep' is private and only accessible within class 'WizardComponent'.
I believe this is the associated Angular CLI issue angular/angular-cli#5623.
Properties need to be public if they are accessed within the template.
Any updates?
+1