As I know, you can create a directive to handle it:
Demo Plunker
app.directive('datetimez', function() {
return {
restrict: 'A',
require : 'ngModel',
link: function(scope, element, attrs, ngModelCtrl) {
element.datetimepicker({
dateFormat:'dd/MM/yyyy hh:mm:ss',
language: 'pt-BR'
}).on('changeDate', function(e) {
var outputDate = new Date(e.date);
var n = outputDate.getTime();
ngModelCtrl.$setViewValue(n);
scope.$apply();
});
}
};
});
And the HTML wrapper for selecting the date should look like this:
<div id="date" class="input-append" datetimez ng-model="var1">
, var1 (. )
,