在 angularjs 中使用编译指令通过控制器从服务器端访问时 bootstrap 3 datepicker 不工作

bootstrab 3 datepicker not working while access from server side through controller using compile directive in angularjs

bootstrab 3 datepicker 在 table 中不工作,而在 angularjs.
中使用编译指令通过控制器从服务器端访问 但是,如果我们将带日期选择器的 table 放在普通页面(加载页面)中,那么它一直运行良好..什么是 wrong.can 谁能给我一些想法..
提前致谢..

对于所有你可以使用的日期选择器,这个code.classname应该是相同的

$('body').on('focus',".date-picker", function(){
$(this).datepicker();
});