title: creating simple countdown timer with pause functionality in Angular2
body: <p>I am currently working on an Ionic2 project. It a question/answer page.</p>
  
  <p>I have to create a simple countdown timer with pause/resume functionality.</p>
  
  <p>Scenario is, on page load, countdown timer will start with 40 minutes. On every passing minutes(60 seconds) timer will reduce 1 minute. But if user press the pause button the timer will pause, and whenever the user press resume button the timer will start from previous paused value.</p>
  
  <p>Please help as I cant figure out how to achieve this.</p>