title: AngularJs with bs-datepicker - setting 'data-min-date' to 'tomorrow'
body: <p>I am working with AngularJs, using the <code>bs-datepicker</code> widget from <a href="http://mgcrea.github.io/angular-strap/" rel="nofollow">AngularStrap</a> and have a form where the minimum date allowed is <code>'tomorrow'</code>. Seeing as <code>data-min-date</code> can be set to <code>'today</code>', I had hoped that it would be as easy as changing the value to <code>'tomorrow'</code>. Alas, that is not the case.</p>
  
  <p>Given that I'm not super confident with AngularJS to begin with, I'm hoping for some guidance here.</p>
  
  <p>My field currently looks like this:</p>
  
  <pre><code>&lt;input type="text" name="startDateValidation" class="form-control"
         ng-model="developer.form.startDate" placeholder="MM/DD/YYYY" data-min-date="today"
         data-date-format="MM/dd/yyyy" bs-datepicker required&gt;
  </code></pre>
  
  <p>I have tried creating a date in my controller:</p>
  
  <pre><code>self.tomorrow = new Date();
  self.tomorrow.setDate(self.tomorrow.getDate() + 1);
  </code></pre>
  
  <p>And then tried each of the following:</p>
  
  <pre><code>data-min-date="developer.tomorrow"
  data-min-date="{developer.tomorrow}"
  data-min-date="{{developer.tomorrow}}"
  </code></pre>
  
  <p>As is probably clear, I'm not sure how angular works, so I'm just bashing around in the dark here. Anyone with any experience would be greatly appreciated.</p>