title: in angular-ui-bootstrap (v.0.10.0) Datepicker - how do i disable single day(s) by date (or array of dates)?
body: <p>I've searched everywhere for longer than i would care to admit, and can not find an answer to this question. the documentation here - <a href="http://angular-ui.github.io/bootstrap/#/datepicker" rel="nofollow">http://angular-ui.github.io/bootstrap/#/datepicker</a> - says...</p>
  
  <pre><code>date-disabled (date, mode)
  </code></pre>
  
  <p>(Default: null) : An optional expression to disable visible options based on passing date and current mode (day|month|year).</p>
  
  <hr>
  
  <p>and in the HTML markup all of the examples show this in the code as an attribute on the input...</p>
  
  <pre><code>date-disabled="disabled(date, mode)"
  </code></pre>
  
  <p>i need to know what to do in my JavaScript to get this actually functioning. an example for a single day and an example for passing an array of dates would be greatly appreciated.</p>
  
  <p>thanks in advance...</p>