Perform null check on `_scope.$root`