Closed Lmangoxx closed 7 years ago
You cannot pass parametesr to contentUrl, its just to fetch the template. only way is to append 'tpl/insuranceCard_detail.html?id=123456'.
If you want to pass data to the model inside angular-confirm
$scope.id = '123456';
$ngConfirm({
title: 'card',
contentUrl: 'tpl/insuranceCard_detail.html',
buttons: {
},
scope: $scope, // give it a scope, and use it in the template.
})
how to pass '123456' to insuranceCard_detail.html?