1.0.2 • Published 8 years ago

angular-stars v1.0.2

Weekly downloads
6
License
MIT
Repository
github
Last release
8 years ago

angular-stars

Live Demo!

NPM

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-stars

Add 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

npm.io