Skip to content

Repository files navigation

version license

angularjs-flagkit-directive

An AngularJS directive for FlagKit

Installation

NPM

npm install angularjs-flagkit-directive --save

Get Started

Include the files in your index.html:

<script src="angularjs-flagkit-directive.min.js"></script>

Add flagkit-directive module in your AngularJS project:

var app = angular.module('YourProject', ['flagkit-directive']);

Usage

<flag fk-country="'US'"></flag>

or

<div flag fk-country="'US'"></div>

Developing

Install dependencies, build the source files and preview

git clone https://github.com/Naimikan/angularjs-flagkit-directive.git
npm install
grunt & grunt preview

Reference

The list of available flags you can find in FlagKit repo.

Thanks

FlagKit for awesome collection of flag icons.

About

AngularJS directive for FlagKit

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages