refactor(safeApply): Using a decorator to better handle adding safeApply to $rootScope