angular flot interation and autocomplete component