Hey Vern, if you are using version <= alpha34 you must import formDirectives from 'angular2/angular2'. If you are using >= 35 you must import 'FORM_DIRECTIVES' from the same module (angular2/angular2)
See this https://github.com/angular/angular/issues/3714 . It's not yet fully implemented. For now import forms from 'angular2/angular2'. El jueves, 27 de agosto de 2015, 22:04:39 (UTC-3), Vern Jensen escribió: > > And in Visual Studio, the line >> > > import {formDirectives} from 'angular2/forms'; > > shows an error "cannot find module 'angular2/forms' -- obviously because > I have no such file, and am not sure where to obtain one. > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
