We can make a button behave like a toggling button by making a directive in AngularJS. It is very simple. You just need to bind the attribute and then check the condition. - See more at: http://findnerd.com/list/view/Changing-button-text-toggle-text-on-click-in-AngularJS/17447/#sthash.3nJQtvvx.dpuf
Topics