Hello, Sander, thank you for your reply.
I guess you mean something like this?
constructor(private zone: NgZone) {
this.zone.runOutsideAngular(()=>{
component = OwnLibrary.createOwnComponent();
component.renderTo("Div ID from Angular2 template");
});
}
It doesn't completely fit our case, but we get some inspiration from your
answer. Thank you!
Best regards,
Rogozin Dmitrii
On Wed, Apr 13, 2016 at 3:35 PM, Sander Elias <[email protected]> wrote:
> Hi Dmitrii,
>
> You should run your component outside the zone. Pascal has written a nice
> article
> <http://blog.thoughtram.io/angular/2016/02/01/zones-in-angular-2.html>
> about that.
>
> What you call rewrites of system functions is not as much a rewrite, as it
> is a way to place the needed(and currently missing) hooks into the system.
> What you call a rewrite is actually (probably) going to make its way into
> JS <https://github.com/domenic/zones> itself.
>
> Regards
> Sander
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "AngularJS" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/jYWdRhzRzVQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>
--
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.