Every line of 'angular moment cdn' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
13 function runRegisterMoment($window) { 14 15 function registerMoment(moment) { 16 $window.moment = moment; 17 } 18 19 if (angular.isUndefined($window.moment) && typeof define === 'function' && define.amd) { 20 require(['moment'], registerMoment); 21 } 22 }
16 export function momentAdapterFactory() { 17 return adapterFactory(moment); 18 }