Tag: Javascript

A better safeApply with Angular 1.5

Many of you might have run into this error at some point in time: Error: $digest already in progress This is typically created when someone calls $scope.$apply() in the middle of their code. Angular can be finicky about… Read More

Promises

Javascript uses two execution models for code, one is synchronous, meaning code is executed iteratively and effectively one line at a time. The other model is asynchronous, where a bit of code can be executed later, after waiting… Read More