controller + resolve