I am currently developing an application and I am considering using AngularJs for this purpose:
<div class="main">
<div class="one">Content 1 goes here ...</div>
<div class="two">Content 2 goes here ...</div>
</div>
Within div one, there is a button that, when clicked, reveals div two and replaces div one.
Can someone provide guidance on how to achieve this? (Should I use ng-Animate or perhaps another CSS technique)
EDIT: Allow me to clarify further Div one contains a list and an ADD button. When the ADD button is clicked, it displays a list within div two. I can then select items to add and submit them, resulting in an updated list being displayed in div one.