Angular and flot integration