e}}</span>
    </button>
    <ul class="dropdown-menu dropdown-menu-right user-select-none" role="menu">
      <li ng-repeat="day in days"><a ng-click="toggle_day(hour, $index)"> <i ng-class="{'fa-check': checked_day(hour.days, day), 'text-blank': !checked_day(hour.days, day)}" class="fa fa-fw"></i> {{days_label[day]}}</a></li>
    </ul>
  </div>
  <input type="text" size="5" ng-model="hour.start" placeholder="10:00" ng-pattern="/^([01]?[0-9]|2[0-3]):[0-5][0-9]$/" typeahead="range_hour for range_hour in ran