<ons-page id="pag1">
<ons-toolbar id="tb1">
	<div class="left" id="tb1_leftDiv">
		<ons-toolbar-button id="tbBar">
	<ons-icon id="tbBar_icon" icon="fa-bars"></ons-icon>
</ons-toolbar-button>
	</div>
    <div class="center" id="tb1_centerDiv">
     	My Application
    </div>
	<div class="right" id="tb1_rightDiv">

	</div>
</ons-toolbar>
<br>

<ons-button id="cmdSpin" modifier="" onclick="cmdSpin_click();">
Spin
</ons-button>
<ons-button id="cmdStop" modifier="cta" onclick="cmdStop_click();">
Stop
</ons-button>

<script>
/* Need to move to Global View JavaScripts*/
function cmdSpin_click() {
$("#tbBar_icon").attr("spin", "true");
}

function cmdStop_click() {
$("#tbBar_icon").removeAttr("spin");
}
</script>



</ons-page>