Relative URL to the template of the modal. Must be already defined in AngularJS' $templateCache
.
Controller function for the modal. Will be injected with modal_instance
and all properties defined in the resolve
option.
Name of the scope property that will hold the controller in the template.
Options passed down to the TLP modal constructor.
Each key will be injected in the provided modal controller. Use it to pass data and callbacks to the modal controller.
The template provided in options.templateUrl
must be saved in AngularJS' $templateCache
. TlpModalService will NOT load it dynamically. You must import it in the calling controller !
modal_instance.tlp_modal
will be undefined at controller creation ! Code depending on it must be in the controller's $onInit()
function !