A strengthened angular template
npm install ngx-template

1. Import
`` TypeScript`
import {NgxTemplateModule} from 'ngx-template';
2. Getting Started
- set template name or type
`html`
`
- get template by name or type
TypeScript
export class SomeComponent {
@ContentChildren(NgxTemplate) templates: QueryList
public getTemplateByName(name: string): TemplateRef
return this.defaultTemplates.find(o => o.name === name);
}
}
``