title: Position: sticky polyfill for angular 2
body: <p>Are there any polyfill available for angular 2 position:sticky. I have been able to find a few, but most of them are jquery based, there seem to be no implementation available for angular 2: </p>
  
  <p><a href="https://github.com/wilddeer/stickyfill" rel="noreferrer">https://github.com/wilddeer/stickyfill</a></p>
  
  <p>I need to know the sample usage with angular 2,</p>
  
  <p>for Javascript it is as follows:</p>
  
  <pre><code>var stickyElements = document.getElementsByClassName('sticky');
  
  for (var i = stickyElements.length - 1; i &gt;= 0; i--) {
      Stickyfill.add(stickyElements[i]);
  }
  </code></pre>