angular-datepicker-light plugin

Live Demo and source code on Github.

npm install angular-datepicker-light

bower install angular-datepicker-light


Design decisions I had in mind when I started to create my plugin:

  • Do not use $scope inside controllers.
  • Do not convolute $scope with properties. Use bindToController with controllerAs instead.
  • Do not in anyway modify position of the input element in the DOM. This meant no transclusion.
  • Keep usage of $scope.$watch to the minimal.