Being "A" m."/>
Being "A" m."/>
Being "A" m"/>
خرید بک لینک

Vote count: 0

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?

asked 13 secs ago

برچسب: نویسنده: استخدام کار تاريخ: يکشنبه 6 تير 1395 ساعت: 12:23

صفحه بندی