fix(collectionRepeat): use $rootScope when checking if digest is needed

Closes #1518