angular-stars
v1.0.2
Published
Angular component for rendering stars
Maintainers
Readme
angular-stars
Installation
Installation is super easy, simply add the dependencies to your build and add <stars amount="X"></stars> to your your app.
# use npm
$ npm install angular-starsAdd angular-stars to your dependencies
angular
.module('yourApp', ['angular-stars'])
.controller('SampleController', function () {})API
amount
The first parameter is simply how many stars to render.
max
The max is only needed if you want to specify a max amount of stars to render.
Usage
<stars amount="10"></stars>
Output


