Version News#
What is this repository for?
- Angular component to provide a version number sourced from package.json and dialog to show features of this this current version.
- Provides a service to use local storage. This checks whether user has viewed this version.
Setup
import 'nl-version-news';
angular.module('index', ['version-news'])
static $inject = ['VersionNewsService']; constructor(private VersionNewsService) { this.VersionNewsService.setOptions({ features: ['<li>This is a new feature</li><li>This is another new feature</li>'], showAtStartup: true, // height: 400, // optional // width: 800 //defaults to //className: // optional ngDialog class or custom class })
Peer Dependencies
- Angular, Bootstrap, ngDialog.
Repo owner
Mark W