A simple module for displaying days remaining before the scheduled event on a ribbon.
After including ng-countdown-ribbon.min.js and ng-countdown-ribbon.min.css, inject the ng-countdown-ribbon provider into your project.
var app = angular.module('demo', ['ngCountdownRibbon']);
Now you can trigger countdown ribbon from anywhere in your app. To display a ribbon, just use the set
method.
First parameter is the end date and second is for the event link. Use date format in ISO 8601.
ngCountdownRibbon.set('2077-03-26', 'http://amzn.com/w/ZWFNUL8AGNLP');
ng-countdown-ribbon is freely distributable under the terms of the MIT license.