I\'ve been using the Heroes tutorial in the Angular 2 docs to experiment. However, I\'ve come to a point that I don\'t understand what\'s happening with this error:
I got this error with angular RC1 when I was injecting FormBuilder inside the constructor like this:
FormBuilder
export class App { constructor(public formBuilder: FormBuilder) {} }
But I didn't import it previously! Just add it solves the problem:
import
import { FormBuilder } from '@angular/common'