title: how to render data to select2 using backbone marionette js
body: <p>i am using <a href="http://ivaynberg.github.io/select2/" rel="nofollow">select2</a> i am able to render the sample data but really don't know how to integrate with data from server side.</p>
  
  <p>following is my select box :</p>
  
  <pre><code>&lt;select id="fund-code" tabindex="1" style="width:200px;"&gt;
                  &lt;option value=""&gt;&lt;option&gt;
                  &lt;option value="1"&gt;Mustard&lt;/option&gt;
                  &lt;option value="2"&gt;Ketchup&lt;/option&gt;
                  &lt;option value="3"&gt;Relish&lt;/option&gt;
              &lt;/select&gt; 
  </code></pre>
  
  <p>onShow of the view i do the following : </p>
  
  <pre><code>$("#fund-code").select2({
                   placeholder: "Select Fund Code",
                   allowClear: true
               });
  </code></pre>
  
  <p>after this how to put data from server side to this select box??</p>
  
  <p>please suggest me the ways to do this.</p>