Home Chained Templates in Angular

# Chained Templates in Angular

user1152
1#
user1152 Published in April 24, 2018, 8:35 am
 Just learning Angular2/4 so please bear with me... Assume I have a CoursesComponent which has a list of CourseComponents. The HTMLTemplate for CoursesComponent simply iterates the CourseComponent (list) field and displays each course. I want the CourseComponent to handle the display of course with it's own HTMLTemplate. CourseComponent HTMLTemplate (with selector:'course') 
{{title}}({{code}})
{{description}}
 CoursesComponent HTMLTemplate (with selector:'courses') 
 AppComponent HTMLTemplate 
 How do you achieve this? Is it even possible? Can templates be chained in this fashion?
 You need to login account before you can post.
Processed in 0.360641 second(s) , Gzip On .