Check $$phase on root scope 

to avoid apply conflicts from scopes higher in the hierarchy