Skip to content

Instantly share code, notes, and snippets.

View Angularjschile's full-sized avatar

Angularjs Chile Angularjschile

View GitHub Profile
@Angularjschile
Angularjschile / pivotDirective.js
Created February 26, 2015 13:17
pivotDirective
angular.module('pivotDirective')
.directive('pivot', ['localStorageService', function (localStorageService) {
return {
restrict: 'AE',
scope: {
data: '='
},
link: function (scope, elem, attr) {
var renderers = $.extend($.pivotUtilities.renderers );