we are using this datepicker and we have problems when it is placed inside of the modal dialog view. We tried to set explicitely the root element to #content but it seems not to work. The attribute i am talking about is: http://amsul.ca/pickadate.js/date/#container
<input style="background-color: white"
type="text"
class="form-control"
ng-model="dialog.fromDate"
pick-a-date="date"
container="#content"
format="YYYY-MM-DD"/>