angular-jquery-global

nikgraf/jquery-global to AngularJS
1 person uses it
Author: 4038192?v=2 danicomas

app.controller('eventsController', ['$scope', 'jqueryGlobal', function ($scope, jqueryGlobal) {

$scope.objDate = jqueryGlobal.parseDate("2013/12/01 22:01:01", "yyyy/MM/dd HH:mm:ss");

$scope.dateFormat = jqueryGlobal.format(objDate, "dd/MM/yyyy");

}]);

comments powered by Disqus
This page was last updated over 2 years ago.