Submit an Angular-js Directive