I have a form whose ng-submit
is to move to the next question.
<form ng-submit="BC.next()" novalidate>
<input type="submit" value="Next Question"/>
<button id="previous" ng-click="BC.previous()">Previous Question</button>
However, whenever I click on the previous button, after executing, it then triggers the BC.next()
I'm so confused, does anyone know why this is happening? I even tried closing the <input type="submit">
tag with a </input>
but that didn't fix it.