I am using one template for my project which provide a class named input-datepicker , by applying this class name on input element ,popup of datepicker gets open .
When i use same class inside ng-repeat it doesn't work. What would be your advice about this problem ? I have used directives also
var app=angular.module('module', []).directive("datepicker", function () {
 function link(scope, element, attrs) {
    // CALL THE "datepicker()" METHOD USING THE "element" OBJECT.
    element.datepicker({
        // dateFormat: "dd/mm/yy"
    });
 }
 return {
    require: 'ngModel',
    link: link
 };
})
Note : the input field where im applying the class is inside modal. Below Html COde:
<div ng-repeat="x in array">
  <input type="text" class="form-control input-datepicker" ng-mode="user.date" />