Hello everybody.
I have create a modal in index.html.
<script id="modal.html" type="text/ng-template">
<div class="modal">
<ion-header-bar class="bar bar-header bar-positive">
<h1 class="title">New Contact</h1>
<button class="button button-clear button-primary" ng-click="modal.hide()">Cancel</button>
</ion-header-bar>
<ion-content>
<div id="signature-1"></div>
</ion-content>
</div>
</script>
And in index.hmtml file, i have a javascript function, i need get an ID in the modal “signature-1”.
<script>
$(document).ready(function(){
$("#signature-1").jSignature();
jSignatureAddTool_1();
});
</script>
How can i do it. Thanks all. Sorry because my english is not good