Angular JS directive - Flot Chart library wrapper