AngularJS: 修改内置验证器不起作用

AngularJS: Modifying built-in validator doesn't work

我正在尝试根据官方文档修改 Angular 的内置电子邮件验证器(https://docs.angularjs.org/guide/forms, almost at the bottom of the page). They even provide a plunkr there which I forked and updated with REGEX expressions that should validate emails better than Angular's standard validation: http://plnkr.co/edit/UerAymIVWmAYKjeT3FH2?p=preview - 有效。

但是,如果我尝试在我的模块中实现此代码,它不起作用:http://plnkr.co/edit/UerAymIVWmAYKjeT3FH2?p=preview

所以基本上我只是替换了

var app = angular.module('form-example-modify-validators', []);

var App = angular.module('ionicApp', ['ionic', 'firebase', 'ngCordova']).

感觉我对Angular缺乏一些非常基本的了解,谁能给我一个提示?

超级笨:很明显plunkr找不到我的依赖。