title: Pre-selected option in select Angularjs
body: <p>I have tried everything in the book. I just cant get option 1 value=&quot;1&quot; User to be preselected. I am using angular website. If I remove ng-model=&quot;type&quot; it gets preselected. but just cant get it working with ng-model=&quot;type&quot; in it.</p>
  <pre class="lang-html prettyprint-override"><code>&lt;div class=&quot;form-group&quot;&gt;
     &lt;select name=&quot;type&quot; id=&quot;type&quot; class=&quot;form-control&quot; ng-model=&quot;type&quot;&gt;
         &lt;option value=&quot;1&quot; selected=&quot;selected&quot;&gt;User&lt;/option&gt;
         &lt;option&gt;Broadcasters&lt;/option&gt;
     &lt;/select&gt;
  &lt;/div&gt;
  </code></pre>