Tidy up brackets on directive initialisation
Assign changes to the piechart values to local variable to avoid losing them when chart is redrawn elsewhere