vincent euloge
Member since Nov 16, 2014
- Profile: /members/12423-vincent-euloge.htm
- Comments: 5
Recent Blog Comments By vincent euloge
-
Exploring $q And Scope $digest Integration In AngularJS
Posted on Feb 9, 2015 at 1:40 AM
good team work !... read more »
-
Exploring $q And Scope $digest Integration In AngularJS
Posted on Feb 8, 2015 at 5:14 PM
In bnResolveTimeoutChain, are you sure it's the delay between each resolving which trigger a $digest ? I think it's the $timeout which trigger the $digest, if I replace it with a setTimeout, $digest is trigger just one time.... read more »
-
Using $scope.$digest() As A Performance Optimization In AngularJS
Posted on Nov 17, 2014 at 5:58 AM
Inspired by you and angular source, event without $apply : https://github.com/vincentEuloge/angularTips/blob/master/eventWithoutApply.js... read more »
-
Using $scope.$digest() As A Performance Optimization In AngularJS
Posted on Nov 17, 2014 at 2:48 AM
Or use broadcast service => directive/controller, each can make the $digest if it's needed, this solution has the advantage to prevent coupling.... read more »
-
Using $scope.$digest() As A Performance Optimization In AngularJS
Posted on Nov 16, 2014 at 5:02 PM
And now just pass the $digest of your directive/controller to a service/provider/facotry/whatever, and you have the capacity to make a local update of your view when you have an aync model change. And to be perfect, change all ng-click, ng-mouseover ... ng-IFireAScopeApply to digest-click, digest-m... read more »