commonModule.directive('risDatepickerPopup',function(){return{restrict:'EAC',require:'ngModel',link:function(scope,element,attr,controller){//remove the default formatter from the input directive to prevent conflictcontroller.$formatters.shift();}}})