I have successfully integrated momentJS with Ionic/Angular using bower, and it is working well. However, when I try to change the locale to 'fr' or 'da', the output still remains in English even though I have the necessary locale files in the locales-folder.
moment.locale('fr');
var NowMoment = moment().format("dddd, MMMM Do");
console.log(NowMoment);
This code snippet is written within my directive/link function. Is there something different that I should be doing?
Thank you for any help provided. Ask