pie chart directive cleanup