Made directives pass jshint, removed form submission, added support for models on the form