Skip to content

CleepDevice/angular-material-badge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular-material-badge

Material Badge for AngularJS

Demo

View online demo

Install

Download the package:

yarn add angular-material-badge

Usage

In your document head, include:

<link
	rel="stylesheet"
	href="node_modules/angular-material-badge/angular-material-badge.min.css"
/>

Use the md-badge where you wish:

<md-badge>12</md-badge>

<ng-md-icon md-badge="12" icon="notifications"></ng-md-icon>

Then, just before close body tag, include:

<script src="node_modules/angular-material-badge/angular-material-badge.min.js"></script>

Include the module in your application:

var application = angular.module('Application', ['ngMdBadge']);

Build

npm install
mkdir build
cd source
make

About

Material Badge for AngularJS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 77.5%
  • Makefile 22.5%