I am trying to make a Kendo Window (using Angular) that will be included on multiple views/pages, so I am trying to make it self sufficient. That being said, I am wondering if there is the equivalent to the resolve configuration that bootstrap modals have. This is what I'm doing in bootstrap and what I'm looking for Kendo to do (since I like the Kendo modals much more):
If this is not supported, can it be added in the near future? Or a workaround?
$scope.generateInvoice =
function
(id) {
$modal.open({
controller:
'generateInvoiceController'
,
templateUrl:
'/app/views/invoices/_generate-invoice.html'
,
resolve: {
invoiceId:
function
() {
return
id; // I want to pass the invoiceId in
}
}
});
};
If this is not supported, can it be added in the near future? Or a workaround?