angular factory with isolated ri