import App from '../base' App.directive('autoSubmitForm', function () { return { link(scope, element) { element.submit() // Runs on load } } })