By mswatcher
via bennadel.com
Submitted: Feb 19 2013 / 11:25
Recently, I played around with an AngularJS directive that compiled and transcluded its target element. That experiment left me a little confused as to how the compile step actually worked; so, I wanted to take a step back and look at compiling an element with fewer facets. This time, rather than transcluding, I'm simply going to compile the DOM, adding an additional HTML element. Specifically, I'll be adding a list delimiter to the end of an ngRepeat template.
Tweet
SaveShareSend
Tags: css-html, frameworks, javascript
Add your comment