| Index: third_party/pkg/angular/lib/directive/module.dart
|
| diff --git a/third_party/pkg/angular/lib/directive/module.dart b/third_party/pkg/angular/lib/directive/module.dart
|
| index eb85f15ecb60cb509406cc3bcd8375537a63dd20..c2f2aa1a6aab12f55b12a988c0471743889cbfa3 100644
|
| --- a/third_party/pkg/angular/lib/directive/module.dart
|
| +++ b/third_party/pkg/angular/lib/directive/module.dart
|
| @@ -3,8 +3,9 @@ library angular.directive;
|
| import 'package:di/di.dart';
|
| import 'dart:html' as dom;
|
| import 'dart:async' as async;
|
| +import 'package:intl/intl.dart';
|
| import 'package:angular/core/module.dart';
|
| -import 'package:angular/core/parser/parser_library.dart';
|
| +import 'package:angular/core/parser/parser.dart';
|
| import 'package:angular/core_dom/module.dart';
|
| import 'package:angular/utils.dart';
|
|
|
| @@ -17,7 +18,9 @@ part 'ng_events.dart';
|
| part 'ng_cloak.dart';
|
| part 'ng_if.dart';
|
| part 'ng_include.dart';
|
| +part 'ng_control.dart';
|
| part 'ng_model.dart';
|
| +part 'ng_pluralize.dart';
|
| part 'ng_repeat.dart';
|
| part 'ng_template.dart';
|
| part 'ng_show_hide.dart';
|
| @@ -27,6 +30,7 @@ part 'ng_switch.dart';
|
| part 'ng_non_bindable.dart';
|
| part 'input_select.dart';
|
| part 'ng_form.dart';
|
| +part 'ng_model_validators.dart';
|
|
|
| class NgDirectiveModule extends Module {
|
| NgDirectiveModule() {
|
| @@ -42,19 +46,16 @@ class NgDirectiveModule extends Module {
|
| value(NgIfDirective, null);
|
| value(NgUnlessDirective, null);
|
| value(NgIncludeDirective, null);
|
| + value(NgPluralizeDirective, null);
|
| value(NgRepeatDirective, null);
|
| value(NgShalowRepeatDirective, null);
|
| value(NgShowDirective, null);
|
| - value(InputEmailDirective, null);
|
| - value(InputNumberDirective, null);
|
| + value(InputTextLikeDirective, null);
|
| value(InputRadioDirective, null);
|
| - value(InputTextDirective, null);
|
| - value(InputPasswordDirective, null);
|
| - value(InputUrlDirective, null);
|
| value(InputCheckboxDirective, null);
|
| - value(TextAreaDirective, null);
|
| value(InputSelectDirective, null);
|
| value(OptionValueDirective, null);
|
| + value(ContentEditableDirective, null);
|
| value(NgModel, null);
|
| value(NgSwitchDirective, null);
|
| value(NgSwitchWhenDirective, null);
|
| @@ -62,11 +63,20 @@ class NgDirectiveModule extends Module {
|
|
|
| value(NgBooleanAttributeDirective, null);
|
| value(NgSourceDirective, null);
|
| + value(NgAttributeDirective, null);
|
|
|
| value(NgEventDirective, null);
|
| value(NgStyleDirective, null);
|
| value(NgNonBindableDirective, null);
|
| value(NgTemplateDirective, null);
|
| - value(NgForm, null);
|
| + value(NgForm, new NgNullForm());
|
| +
|
| + value(NgModelRequiredValidator, null);
|
| + value(NgModelUrlValidator, null);
|
| + value(NgModelEmailValidator, null);
|
| + value(NgModelNumberValidator, null);
|
| + value(NgModelPatternValidator, null);
|
| + value(NgModelMinLengthValidator, null);
|
| + value(NgModelMaxLengthValidator, null);
|
| }
|
| }
|
|
|