How to get ui.bootstrap timepicker control to pass validation by default, without user interacting with control
<p>When the timepicker control is inside a form and has an initial 'valid' default value, it should validate and <code>$scope.formname.$valid</code> should be true. However, what I am seeing is that unless the user interacts with the control, it's not validated and the form is not in valid state, this is not acceptable since the user may not even want to change the default time value. Any ideas what can be done for angular to validate the control with its default value and form respectively.</p>

<p><a href="https://plnkr.co/edit/p1I2NoNpg3XMzijHUadi?p=preview" rel="nofollow">https://plnkr.co/edit/p1I2NoNpg3XMzijHUadi?p=preview</a></p>

<pre><code>&lt;form name="myForm" novalidate&gt;
  &lt;uib-timepicker ng-model="time" template-url="timepicker.html" hour-step="1" ng-required="true" minute-step="1" show-meridian="false" &gt;&lt;/uib-timepicker&gt;

  &lt;input type="submit" value="Form state" ng-click="alertState()"&gt;&lt;/button&gt;
&lt;/form&gt;




 var app =  angular.module('demo',['ui.bootstrap']);


  app.controller('myCtrl',[ '$scope', function($scope) {



  $scope.alertState = function() {
    alert($scope.myForm.$valid);
  };

  }]); 
</code></pre>