master
$safeApply
$rootScope.$safeApply = function () { var $scope, fn, force = false if (arguments.length === 1) { var arg = arguments[0] if (typeof arg === 'function') {