Angular2 providers in bootstrap vs @component
问题 From my understanding, you can define your application providers in your bootstrap call like this: bootstrap( App, [disableDeprecatedForms(), provideForms()]] ) or in your root component like this: @Component({ selector: 'my-app', providers: [disableDeprecatedForms(), provideForms()], ... ) However, I have created a form validator plugin that required the provideForms providers and this directive only works, when the bootstrap options. I have created a plunk to illstrate the problem: the