kbanman / selectize-ng

Selectize directive for AngularJS with two-way bindings for both values and options

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add an array of items programmatically while loading a view

jagged3dge opened this issue · comments

New to AngularJs, groping around with directives...

I wonder if it's possible to add a set of default values to the selectize element, for example in the tagging mode?

It's a method of the selectize object (docs), not sure how to invoke that so as to allow items to be added in a controller.