I'm attempting to get my old Angular 1.3 code ported to Angular 2, and am
currently working on porting code that uses ng-model. From what I can tell,
I need to
import {formDirectives} from 'angular2/forms';
to get the solution here
<http://stackoverflow.com/questions/31623879/angular-2-two-way-binding-using-ng-model-is-not-working>
working:
Problem is, I get "Can't bind to 'ngModel' since it isn't a known property
of the" because I don't have a definition file for that. I do have:
angular2.d.ts
router.d.ts
and some older versions of those from DefinitelyTyped
<https://github.com/borisyankov/DefinitelyTyped/tree/master/angularjs>.
Sadly, DefinitelyTyped does not have anything for forms. I've scoured the
'net, but can't find anything. Help?
-Vern
--
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.