Tuesday, March 4, 2014

AngularJS is such a canny beast

G+ 6 May 2013

G+ 25 Jan 2014 (such a lengthy call stack)


Plunker: http://plnkr.co/edit/4TmJTKEouhM2VMsyp0jq?p=preview



* Docs: Directive Definition Object - http://docs.angularjs.org/api/ng/service/$compile (require transclude replace terminal controller)
* Fantastic scope jsFiddle: http://jsfiddle.net/maxisam/QrCXh/
* "infinitely recursive directive structure": http://jsfiddle.net/n9KNv/14/

At the end of the day - question wasn't necessary - nevertheless - it took me two hours to figure the right syntax:

(it took me a while to figure it one so leaving a note to myself)

1 comment: