This kind of errors:
Controller 'ngModel', required by directive 'ngSubmit', can't be found!Can be fixed by following the steps in this stackoverflow post. Basically, configure your directive require like this:
require: "^?ngModel"instead of:
require: "ngModel"