Answer the question
In order to leave comments, you need to log in
How to swap content between two divs in angular?
<a href="#">change content</a>
<div id="div_1"></div>
<div id="div_2">
<!-- content -->
</div>
Answer the question
In order to leave comments, you need to log in
The value of the model of the first div into a variable, and the value of the model of the second div into the model of the first. then from the variable to the model of the second div.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question