I want to use single javascript file for Angular2 in my project & I found that Angular2 provides angular.sfx.dev.js. I found one jsfiddle https://jsfiddle.net/langdonx/n5pjgev6/ which demonstrate use of it. I found that there are lot of example in typescript but *very less using * *angular.sfx.dev.js*.
Examples for Lifecycle, & NgZone (call angular2 function from outside using old js/jquery) are not found in detail. I tried ngOnInit as well OnInit to see if either of it works (similarly ngOnChange & OnChange) in above jsfiddle but unable to print on console log on each event. If some point me to good article that uses angular.sfx.dev.js or update above jsfiddle to let me know how *l**ifecycle & calling angular function from outside* using plain old javascript it would be of great help. -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" 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.
