text: app.controller('TimepickerDemoCtrl', function ($scope, $log) {
      //$scope.mytime = new Date();
                  
  //    $scope.hstep = 1;
  //    $scope.mstep = 15;
  
      $scope.options = {
          hstep: [1, 2, 3],
          mstep: [1, 5, 10, 15, 25, 30]
      };
  
      $scope.ismeridian = true;
      $scope.toggleMode = function () {
          $scope.ismeridian = !$scope.ismeridian;
      };
  
      $scope.update = function () {
          var d = new Date();
          d.setHours(14);
          d.setMinutes(0);
          $scope.mytime = d;
      };
  
      $scope.changed = function () {
          var d = new Date();
          d.setHours(14);
          d.setMinutes(15);
          $scope.mytime = d;
          $log.log('Time changed to: ' + $scope.mytime);
      };
      $scope.clear = function () {
          $scope.mytime = null;
      };
  });
  