I want to create a simple button that toggle between two divs as follow:
<div ng-controller="A">
</div>
<div ng-controller="B">
</div>
Being "A" my main controller, the one that I want to display first.
If I suppose that my button is in "A", I could hide my "A" div and show my "B" div, when I clicked, and when I clicked again hide my "B" div and show my "A" div?
It is possible?