I want the rotate buttons to be on top of the submit button but when I put the rotate buttons on top and then click to rotate the form submits prematurely. Here is my plunker: http://plnkr.co/edit/C8m9fPgZmzc49snWL1cL?p=preview