Last active
November 4, 2019 17:37
-
-
Save natan88/98c6c74dab05e4d3abda4165ff6a2f0d to your computer and use it in GitHub Desktop.
Como usar o componente $uibModal no controlador/componente
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$uibModal.open({ | |
component: 'consultorioAnexarArquivo', | |
backdrop: 'static', | |
// keyboard: false, | |
// windowClass: 'app-modal-window-grande', | |
size: 'sm', // lg, sm, md | |
resolve: { | |
modalData: function () { | |
return { | |
atendimentoID: $ctrl.atendimentoID, | |
clienteID: $ctrl.clienteID | |
}; | |
} | |
} | |
}).result.then(function( modelos ){ | |
$ctrl.componente.modelo = modelos; | |
}, function(res){}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment