Skip to content

Instantly share code, notes, and snippets.

View nozelrosario's full-sized avatar

Nozel Rosario nozelrosario

  • Mumbai
View GitHub Profile
@nozelrosario
nozelrosario / jqSparkline
Last active December 10, 2015 06:12 — forked from pjsvis/gist:6210002
Angular directive for using JQuery Sparklines from http://omnipotent.net/jquery.sparkline.
// Requires jQuery from http://jquery.com/
// and jQuerySparklines from http://omnipotent.net/jquery.sparkline
// AngularJS directives for jquery sparkline
var jqSparklineDirectives = angular.module('jqSparklineDirectives', []);
jqSparklineDirectives.directive('jqSparkline', [function () {
'use strict';
return {
restrict: 'A',