title: how to access constructor properties from a setInterval on angular2
body: <p>It seems that i cant access the constructor properties from an setInterval and i need to get and to modify the properties . any help on how can i solve this ?</p>
  
  <pre><code>startit() {
      console.log(this.page,this.nrpages) //works
      setInterval(function() {
          console.log(this.currentPage,this.nrpages) // undefined undefined
  </code></pre>