1/**
2 * Opens bootstarp modal with templateUrl, controller and modalData.
3 *
4 * @param {string} tmplUrl - template Url.
5 * @param {string} controllerName - controller to bind to modal.
6 * @param {*} [modalData] - this additional data will get injected as $scope.modalData.
7 *
8 * @return {object} promise which will be resolved or rejected while closing the modal.
9 */
10 $bootstrap4Modal.show(tmplUrl, controllerName, modalData)