Reverted back to dev way of doing ng-submit