Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at cf.Objective() 2017 (Washington, D.C.) with: Justin Hinden
Ben Nadel at cf.Objective() 2017 (Washington, D.C.) with: Justin Hinden@JustinHinden )

Simon

Member since Oct 13, 2015

Recent Blog Comments By Simon

  • Isolating The ngModel Two-Way Data Binding Life-Cycle In AngularJS

    Posted on Oct 22, 2015 at 8:59 AM

    As always nice article Ben ! If your object have numerous properties it could be boring to set all one by one: I prefer to use the copy function from angular: vm.form = angular.copy(vm.friend); It's shorter ;-)... read more »

  • Handling Window Blur And Focus Events In AngularJS

    Posted on Oct 13, 2015 at 10:14 AM

    Hey Ben, Nice directives ;-) I think the Visibiliy API is more appropriate to trigger the focus/blur of the window element: https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API Furthemore it is quite well supported http://caniuse.com/#feat=pagevisibility... read more »