Skip to content

eggheadio-projects/create-dynamic-components-in-angular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Get to know our basic Angular TabsComponent (in master branch here)
  2. Declare a template within a template using ng-template in Angular
  3. Pass a reference of an ng-template to a component and render it in Angular
  4. Pass data to be rendered in a dynamic ng-template using ngTemplateOutletContext in Angular
  5. Define an anchor point where to render dynamic components in Angular
  6. Dynamically instantiate an Angular component
  7. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published