tokens: You could create a directive [ set the directive as attribute for input element ] and within the directive set the data using loadData when the promise is resolved .
ner_tags: O O O O O O O O O O O O O O O O O O O O O O O B-Variable O O O O O O