fix phase check in isolated scopes

Hi, 
isolated scopes don't inherit $$phase property. That's why I'm getting "[$rootScope:inprog] $digest already in progress" errors when applying $collection.bind() to isolated scope. I fixed this by refering to scope.$root wchich is always available.