I am trying to create an app to document internal reusable components for my company but am having trouble figuring out how to display Angular Typescript code from within my Angular documentation app.
Whenever I try to do this, I see the following error:
Error in @angular/[email protected]/bundles/compiler.umd.js (2603:21)
Template parse errors:
Invalid ICU message. Missing '}'. ("
export class SliderComponent {}
[ERROR ->]</code>"): ng:///AppModule/AppComponent.html@9:0
And the only code I really have in the project is in the app.component.html file and it looks like this:
<code>
@Component({
selector: 'app-slider-alt',
templateUrl: './slider-alt.template.html',
styleUrls: ['./slider.component.scss']
})
export class SliderComponent {}
</code>
Any ideas?