$q.all(loadService.loadCustomState('main', $scope, {
        state1: loadingState1.promise,
        state2: loadingState2.promise,
      }))
      .then((result) => {