docs: function fireListener(type) {
              var modalResult = {
                  type: type,
                  "scope": $scope.$$ms
              };
              var deferd = $q.defer();
              var promise = deferd.promise;
              deferd.resolve(modalResult);
              var promisesArr = [promise];
              vm.modalOptions.action[type] = vm.modalOptions.action[type] || {};
              var listens = vm.modalOptions.action[type].listens || [];
              //配置中的listen
              angular.forEach(listens, function (listen) {
                  promisesArr.push($q.when($injector.invoke(listen, this, {
                      "modalResult": modalResult
                  })));
              });
              return $q.all(promisesArr);
          }