An AngularJS directive for FlagKit
NPM
npm install angularjs-flagkit-directive --saveInclude 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 previewThe list of available flags you can find in FlagKit repo.
FlagKit for awesome collection of flag icons.