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

Detect AdBlock with JavaScript in my browser

30-07-2017 AdBlock javascript detect

How to submit form using javascript or jquery.

16-04-2017 javascript jquery submit form

Get random strings from given string In javascript

21-02-2017 javascript random string

Send Mail in Node Js

21-02-2017 node js mail npm module