AngularJS Rating Stars
Amazing AngularJS 1 Rating Stars directive that works with Angular Material.
Demo : https://embed.plnkr.co/q7pgHz/
Install :
npm
npm install angular-jk-rating-stars
bower
bower install angular-jk-rating-stars
Usage :
- Add
jk-rating-stars.js
to your index file:
- Add
jk-rating-stars.css
to your index file:
- Add the google material icons
- Add a dependency to the
jkAngularRatingStars
module in your application.
angular;
- Add a
jk-rating-stars
tag to your html, set the amount of stars and bind a variable that will holds the selected value. If the maxRating variable is not set, we use the default of 5.
TODO :
License
This module is released under the permissive MIT license. Contributions or suggestions are always welcome :D