define(["modules/graphs/module","easy-pie"],function(a){"use strict";return a.registerDirective("easyPieChartContainer",function(){return{restrict:"A",link:function(){$.fn.easyPieChart&&$(".easy-pie-chart").each(function(){var a=$(this),b=a.css("color")||a.data("pie-color"),c=a.data("pie-track-color")||"rgba(0,0,0,0.04)",d=parseInt(a.data("pie-size"))||25;a.easyPieChart({barColor:b,trackColor:c,scaleColor:!1,lineCap:"butt",lineWidth:parseInt(d/8.5),animate:1500,rotate:-90,size:d,onStep:function(a,b,c){$(this.el).find(".percent").text(Math.round(c))}}),a=null})}}})});