custom directive (the 'pie chart') example works