how to create a tree like structure with different views in angular?
I am trying to create a tree view using recursive html. Everything works fine if all the nodes of the tree look similar but in my case the parent and child look different but child and grand child look same. So, I have nested a child component in the parent component and to generate grand children I just call the same child component recursively