Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 430 Bytes

File metadata and controls

19 lines (15 loc) · 430 Bytes

angular-clockpicker

Clockpicker

Clockpicker is an Angular directive that provides an intuitive way of selecting time.

Usage

In your controller, create a Date object to store the time.

function YourController($scope) {
    $scope.time = new Date();
})

Give that value to the clockpicker to be set when the user selects a time.

<clockpicker ng-model="time">
</clockpicker>