Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at cf.Objective() 2009 (Minneapolis, MN) with: Simeon Bateman
Ben Nadel at cf.Objective() 2009 (Minneapolis, MN) with: Simeon Bateman@simBateman )

Philip

Member since Jan 13, 2015

Recent Blog Comments By Philip

  • One-Time Data Bindings For Object Literal Expressions In AngularJS 1.3

    Posted on Jun 1, 2015 at 8:52 AM

    Hi Ben, My angular documentation pull request has been merged, so this article is now linked on the Expressions page of the Developer Guide: https://docs.angularjs.org/guide/expression#special-case-for-object-literals Thanks for all your posts! Philip... read more »

  • One-Time Data Bindings For Object Literal Expressions In AngularJS 1.3

    Posted on May 29, 2015 at 5:31 PM

    I want this expression <div data-ng-class="{'modal-lg' : options.size == 'large', 'modal-sm' : options.size == 'small'}"> to get bound once, but only after options.size is set. In other words, I want this expression to stop getting watched once options.size is set. In angular-onc... read more »

  • One-Time Data Bindings For Object Literal Expressions In AngularJS 1.3

    Posted on May 29, 2015 at 3:09 PM

    I'm switching from angular-once ( https://github.com/tadeuszwojcik/angular-once ) to Angular's native one-time binding in 1.3. After reading the documentation on Angular's one-time bindings I began to write my object literal expressions like this: data-ng-class="::options.size ? {'modal-lg' :... read more »

  • Event Delegation Performance vs. Linking Performance In AngularJS

    Posted on Jan 14, 2015 at 8:59 AM

    @Ben We remote into a VMWare Windows XP virtual machine running on a VMWare server. We have noticed some glitches that we were surprised clients haven't complained about so we concluded it's because of the VM. In April we're dropping support for IE8 so we can't wait to switch to the 1.3 branch to ... read more »

  • Event Delegation Performance vs. Linking Performance In AngularJS

    Posted on Jan 13, 2015 at 1:46 PM

    We need to support IE8 and quickly noticed when iterating over 100 ng-repeated items with ng-clicks or other events IE8 comes to a crawl. We saw huge (seemed like magnitutes) IE8 performance improvements when we: 1) added a single jQuery DOM event handler using event delegation to target the elemen... read more »