P
P
Pshevchenko2014-05-03 19:46:27
Angular
Pshevchenko, 2014-05-03 19:46:27

How to dynamically insert/remove DIVs in Angural JS?

I read the documentation on Angural and did not find how to remove, add html in it.
For example like in jquery
$("#main").append('<div>123</div>')
$("#main").remove();

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail Osher, 2014-05-03
@Pshevchenko

For example so.
plnkr.co/edit/TTQ7UittSFoU4QFxcPBa?p=preview
Or did I misunderstand the question?

P
Pshevchenko, 2014-05-03
@Pshevchenko

It seems to be what is needed. Thank you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question