How we can prevent date bar call each second?
-
Is there any way to capture (md-sidenav) ma-date-range-picker on change event in any component.
Here is the code.
<ma-point-statistics point="myCO" from="$ctrl.dateBar.from" to="$ctrl.dateBar.to" statistics="statsObj"> </ma-point-statistics> {{$ctrl.calculate(statsObj.sum.value)}}
$ctrl.calculate function call each second.
-
Any advise?