I have implemented popup / modal window in mobile browser using angular js.
I have used modal directive for this which is given in angular js with bootstrap site.
I have kept all the content of popup in a variable and while opening popup, I am passing that variable to in element to following function:
$scope.open = function (size, element) {
var modalInstance = $modal.open({
controller: ModalInstanceCtrl,
template : element,
size: size
});
};
I have also added a ng-click event in that content of popup which is stored in the variable.
But that ng-click function is not working.
Please give me some solution.
templatea html code?