I am new to angularjs and also for ng-admin.I am using ng-admin for my project. In that I make custom page in that I have to use UI bootstrap date picker.But popup is not coming. Below is my code.
here is my custom page code.
<div class="input-group datepicker">
<input type="text" ng-model="rawValue" id="" name="{{ name }}" class="form- control"
uib-datepicker-popup="{{ format }}" is-open="isOpen" ng-required="{{v}}"/>
<span class="input-group-btn">
<button type="button" class="btn btn-default" ng-click="toggleDatePicker($event)">
<i class="glyphicon glyphicon-calendar"></i>
</button>
</span>
</div>
here is my javascript code.
$scope.rawValue = new Date();
$scope.format = "yyyy-MM-dd";
$scope.v = true;
$scope.isOpen = false;
$scope.toggleDatePicker = function ($event) {
$event.preventDefault();
$event.stopPropagation();
};
Please help me in this regard.
Actually when I include ui-bootsrap.min.js file in "index.html" custom page datepicker is working fine.But ng-admin normal page datepickers and filter popups are not working.