An angular directive for auto sizing and input based upon the content within it
cp-time-pick requires jquery and Angular 1.3.*
Install cp-time-pick with bower or npm
bower install --save cp-autoscale-input
npm install --save cp-autoscale-input
Or manually download the built file
Make your angular app depend upon the cp-autoscale-input
module
angular.module("app", ["cp-autoscale-input"]);
<input type="text" ng-model="myDate" cp-autoscale-input/>
Limit the length the input auto-scales to
<input type="text" ng-model="myDate" cp-autoscale-input max-length="20"/>