Fixed a super ridiculous $apply bug

It turns out that using the safeApply approach is now an anti pattern…
Wrapping any code you need to safely $apply in a $timeout of 0 seconds
is now the correct workaround according to Angular people.