Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.

Jimmy

Member since Nov 5, 2014

Recent Blog Comments By Jimmy

  • Directive Controller And Link Timing In AngularJS

    Posted on Nov 5, 2014 at 1:57 PM

    @Jimmy, Well I did find an explanation on the behavior in the angular source code. That does explain the behavior but unfortunately doesn't solve my problem where I'm looking for a way to detec when all directives on a page have loaded. * Because template loading is asynchronous the compiler will ... read more »

  • Directive Controller And Link Timing In AngularJS

    Posted on Nov 5, 2014 at 12:04 PM

    Thanks for the great post as I was looking for an explanation of this. Unfortunately I found a case where all of this doesn't add up anymore. As soon as you start adding a templateUrl to an inner directive, it's link function is run last and not the link function of the outer directives. I can't rea... read more »