How to trigger element rotation on button click? (AngularJS/Ionic)
<p>I'm attempting to build an app with Ionic framework and Angular, but everything I try to make a smooth rotation animation on a div element isn't working properly. I need it to happen every time I click a button. The div element is separate from the button. I would like it to rotate 360 degrees and be repeatable.</p>

<p>I don't really have any code for you guys because I don't know how to do this! Any help would really be appreciated. </p>