menuButton
Home
Filter Sample
Modal Sample
Directive Sample
Mixin Sample
Html load
Required attributes
Reactive viewmodel
User list
The Good
The bad
Complex API
Observable State
Dynamic HTML
View Source
Dynamic HTML sample
<h1>Some random HTML</h1> <p>Well, <dyn-data property='name'></dyn-data> is awesome</p> <p> To do it this way is really dangerous, as it will expose to all kind of security issues. (see the functioning alert in the sample code!!) But the person that asked the question, needed a way to run script tags, and this is the easiest way. With this sample comes a severe warning, that this is really dangerous. </p> <button onclick="alert('hi')">hi</button>
Update