egghead-create-dynamic-tabs-component-angular
egghead-create-dynamic-tabs-component-angular copied to clipboard
Egghead course on "Create a dynamic tabs component with Angular"
Egghead Course: Create a Dynamic Tabs Component in Angular
by Juri Strumpflohner (Twitter - Blog)
Check out the course over on egghead.io.
This repository is organized in different branches, one branch for each video lesson.
Contents
- Get to know our basic Angular TabsComponent (in master branch here)
-
Declare a template within a template using
ng-template
in Angular - Pass a reference of an ng-template to a component and render it in Angular
- Pass data to be rendered in a dynamic ng-template using ngTemplateOutletContext in Angular
- Define an anchor point where to render dynamic components in Angular
- Dynamically instantiate an Angular component
- Destroy a dynamically instantiated Angular component
Setup & Run
Clone the repository and install all packages
$ npm install
Run the project by executing
$ npm start
Questions?
Feel free to reach out to me on Twitter or open an issue.