const angular = require('angular')

angular
  .module('minimalist')
  .directive('mnForm', MnFormDirective)

function MnFormDirective() {
  return {
    restrict: 'C',
    link(scope, element, attributes) {
      const form = element[0]

      form.addEventListener('submit', () => {
        scope.$eval(attributes.submit)
      })
    }
  }
}

@@ -1,38 +1,24 @@
-const angular = require('
+/* global 
 angular
-')
+ */
 %0A%0Aan

remove loading of angular in form directive