Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save wesleygrimes/6951524e04e607ac840ca5490cccbf4e to your computer and use it in GitHub Desktop.
Save wesleygrimes/6951524e04e607ac840ca5490cccbf4e to your computer and use it in GitHub Desktop.
Dynamic Content Outlet Error Component
import { Component, Input } from '@angular/core';
@Component({
selector: 'app-dynamic-content-outlet-error-component',
template: `
<div>{{ errorMessage }}</div>
`
})
export class DynamicContentOutletErrorComponent {
@Input() errorMessage: string;
constructor() {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment