Angular UTC Datepicker

The calendar will display above the input if it's close to the bottom of the page, and can be closed by clicking elsewhere or pressing the ESC key.

Demos

Basic datepicker

<input ng-utc-datepicker ng-model="vm.date"/>

Datepicker with trigger element

<span id="icon" class="fa fa-calendar"></span>
<input ng-utc-datepicker data-trigger="icon" ng-model="vm.date"/>

Datepicker with trigger element and custom format

<input ng-utc-datepicker
        data-trigger="btn-text"
        data-format="MM/DD/YYYY HH:mm:ss"
        ng-model="vm.date"/>
<button id="btn-text">Show Calendar</button>