The datepicker component from AngularJS Material tweaked to take dates in the Persian (Jalaali) calendar system, using moment-jalaali. (Note: For Angular 6+ see this repository by Peyman Ebrahimi)
You can see a live demo here.
You may use npm or bower:
$ npm install angular-material-persian-datepicker --save
$ bower install angular-material-persian-datepicker --save
Load the component's javascript file in your html:
<script src="dist/datePicker.min.js"></script>
Add the angular-material-persian-datepicker
dependency to your angular module:
angular.module('app', [
'angular-material-persian-datepicker'
]);
<md-persian-datepicker ng-model="birthday"></md-persian-datepicker>
birthday
should be a native javascript Date object. Refer to original component's documentation for other available options.