0
我正在使用**角引导日期选择器**。我想单击按钮时显示日期选择器..但我的日期选择器显示当我运行我的plunker。如何显示日期选择器按钮单击。如果用户选择任何日期。它应该显示在按钮文本上?我如何设置按钮的文本为选定的日期.. 这里是我的代码 http://plnkr.co/edit/dTaCRAzS7t21uKL2MQBF?p=preview如何在点击按钮时显示日期选择器?
我用这 https://angular-ui.github.io/bootstrap/
<body ng-app='app'>
<div ng-controller='cntrl'>
{{3+4}}
<button ng-click='openDate()'>{{open_date_picker}}</button>
<div style="display:inline-block; min-height:290px;">
<uib-datepicker ng-model="dt" min-date="minDate" show-weeks="true" class="well well-sm" custom-class="getDayClass(date, mode)"></uib-datepicker>
</div>
</div>
</body>
</html>