Thanks, this was the problem indeed. I still am a fan of ng- style, it makes things cleaner and easier to work with/read. Maybe ng2- works?
On Wednesday, March 23, 2016 at 4:07:31 AM UTC-5, Sander Elias wrote: > > Hi Hani, > > If you use a script tag, the browser considers the inside of that tag as a > piece of text. When you retrieve the innerHTML, it just fetches this text > as is. > However, if you use innerHTML on any other tag, it reads the DOM. Browsers > will return all attributes in lowercase... This is the root of the problem. > It is very hard to get the raw HTML-source of an element. (that's why it's > not working on a div either!). To make the case even worse, the template > element takes the whole thing out of the dom, and creates a > documentFragment > <https://developer.mozilla.org/nl/docs/Web/API/DocumentFragment>. This > makes the whole thing even harder to work with (in this context). > > 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
