Change datepicker display format

angular js

In Angular js the bs-datepicker date format will be changed by adding below filter into your js file.

.config(function($datepickerProvider) {
  angular.extend($datepickerProvider.defaults, {
    dateFormat: 'MM-dd-yyyy',
    startWeek: 1


You might also like:

Simple Array Sum | Javascript |

07-05-2020 javascript arrays array sum

Compare the Triplets | Javascript |


Sanitization in java sript

14-03-2017 sanitization java script

Using slice remove last two characters from given string

07-03-2017 slice remove

Send Mail in Node Js

21-02-2017 node js mail npm module