I use a datepicker which returns a selected date as a value to its callback the datepicker is a plugin.
In my callback method selectedDate i need to pass in additional parameters such as the dateValue to this selectedDate method. How can i achieve this
<datepicker callback="selectedDate" ></datepicker>
$scope.selectedDate= function (dateValue) {
}
selectedDatein controller? and how theselectedDatelooks like in controller?