From 1417e12f282cf199848e394fa9cc14c896c60232 Mon Sep 17 00:00:00 2001 From: mgechev Date: Thu, 26 Nov 2015 11:49:31 +0200 Subject: [PATCH] refactor(playground): rename bindings to providers --- modules/playground/src/template_driven_forms/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/playground/src/template_driven_forms/index.ts b/modules/playground/src/template_driven_forms/index.ts index f1d03f2007..8a61942382 100644 --- a/modules/playground/src/template_driven_forms/index.ts +++ b/modules/playground/src/template_driven_forms/index.ts @@ -42,7 +42,7 @@ function creditCardValidator(c): {[key: string]: boolean} { const creditCardValidatorBinding = CONST_EXPR(new Provider(NG_VALIDATORS, {useValue: creditCardValidator, multi: true})); -@Directive({selector: '[credit-card]', bindings: [creditCardValidatorBinding]}) +@Directive({selector: '[credit-card]', providers: [creditCardValidatorBinding]}) class CreditCardValidator { }