title: enable/disable multiple text boxes on dropdown selection values in angularjs
body: <p>I have 1 drop-down which contains values("Due Date","Tenure","NA". these values come from database) respectively.I have 2 text boxes textbox1 and textbox 2. I want <code>textbox1</code>(i.e <code>DueDate</code>) enabled if Dropdown value selected as "<code>Due Date</code>" &amp; textbox2(i.e.<code>TenureDate</code>) enabled if Dropdown value selected as "<code>Tenure</code>".</p>
  
  <pre><code>&lt;div&gt;
       @Html.DropdownListFor(m=&gt;m.Tenure,new{ng_options="c 
                              as c.name for c in duedateddl"})
  &lt;/div&gt;
  &lt;div&gt;
       @Html.TextBoxFor(m=&gt;m.DueDate)
       @Html.TextBoxFor(m=&gt;m.TenureDate)
  &lt;/div&gt;
  </code></pre>