for #956 and #1662 adding event to the ng-submit so we can change the active datum to the next one, and put focus on the second element in the datum entry