Put resolve def with their controllers