Check $$phase on root scope - fixes #26