title: How to open/close a Foundation Modal or tab in TS file using typescript only(without $ to access the variable)
body: <p>I am working on an angular project. To open a modal in .ts file I used JQuery method - 
  1. to open a modal:
  <code>$('#myModal').foundation('open');</code>
  2. to close a modal : 
  <code>$('#myModal').foundation('close');</code>
  3. and for Tab view - to open a particular tab from .ts file I used following command:
  <code>$("#myTabs").foundation("selectTab",$("#firstPanel"));</code></p>
  
  <p>How can I work on these things with pure typescript only(not using JS or jQuery)? 
  Let me know if there is any alternative to it in typescript. It would be of great help to me. Thanks in advance.</p>