Get ID in text/ng-template by javascript. Please help me!


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>
        <div id="signature-1"></div> 

And in index.hmtml file, i have a javascript function, i need get an ID in the modal “signature-1”.


How can i do it. Thanks all. Sorry because my english is not good :smile:


sorry. please delete this post. many thank :blush: