I am looking for a way to insert items inside elements in angular js.
Ill try to show how it is.
<item1> </item1>
insert an item like this
<item1>
<item2> </item2>
</item1>
It also should insert all the data you require (it means it must execute the template of item2 when initialize).
I want to insert items dynamically, while press a button a new element is inserted into item1. The new one will be of a different type type2 and should inherit all the propertys and attributes of it's kind (item3, item3.. and so on).
item1which template is<item2></item2>