Hi Sander, Actually I'm facing similar issue here. I have a scenario where I have to load a script inside angular application.
I'm trying to embed google preview wizard script inside my angular application. No matter in what way i try it's just not happening. (https://developers.google.com/books/docs/preview-wizard). Any inputs on this ? So far I tried embedding it inside a directive, iframe, directly inside controller, and finally template (which stripes off scripts tags inside it). On Friday, September 19, 2014 10:27:45 AM UTC+5:30, Sander Elias wrote: > > Hi Umesh, > > script tags are stripped from the templates as a security feature. And for > good reasons. > That does not mean you can't load scripts, it just means you can't use > templates to > accomplish that goal. > > What is the actual reason you think you need a script in your template? If > you build a > plunk around what you are trying to do, I can most likely provide a > (couple of) alternative(s) > to you. > > Regards > Sander > -- 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.
