You could, after you pass the form in, try and attach your own listener to the form, but that's messy and probably buggy and has other problems too.
Better thing to do is to have that fetcher thing (which fetches the form) create a dynamic component. That's a bit more work but much better and easier to work with, once you grasp the concept.
Yes I agree, Angular not considers this form as part of page just showing it.
Yes I agree, Angular not considers this form as part of page just showing it.Which type of dynamic component, what need to be function of this component?
Argument of type '{ template: SafeHtml; styles: string[]; }' is not assignable to paramete
r of type 'Component'.
Types of property 'template' are incompatible.
Type 'SafeHtml' is not assignable to type 'string'.The HTML which I m fetching is :
{"actions":"<label for=\"password\">Password<\/label>\r\n\t\t\t<input type=\"text\"\r\n id=\"password\"\r\n [(ngModel)]=\"password\"\r\n name=\"password\">"} --
You received this message because you are subscribed to a topic in the Google Groups "Angular and AngularJS discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/ftz0lLIlrDA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+unsubscribe@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
Template parse errors:There is no directive with "exportAs" set to "ngForm" ("<form (ngSubmit)="onSubmit(f)" [ERROR ->]#f="ngForm"> <label for="password">Password</label>Well, you didn't add formsModule to your dynamic module :)
Try this: https://plnkr.co/edit/vEEQECofC7qfvCYCJ4bg?p=preview
Great it works perfectly now. After hours of tries I was able to combine code Router, Http and HTML Converter within one component.
Great it works perfectly now. After hours of tries I was able to combine code Router, Http and HTML Converter within one component.
You are great developer, i`d love to be your student :)