1.0.1 • Published 6 years ago
angularjs-flagkit-directive v1.0.1
NPM
npm install angularjs-flagkit-directive --save
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']);
<flag fk-country="'US'"></flag>
or
<div flag fk-country="'US'"></div>
Install dependencies, build the source files and preview
git clone https://github.com/Naimikan/angularjs-flagkit-directive.git
npm install
grunt & grunt preview
The list of available flags you can find in FlagKit repo.
FlagKit for awesome collection of flag icons.