A simple countdown timer using AngularJS