М
Error: [$parse:syntax] Syntax Error: Token '{' invalid key at column 24 of the expression [data.RWParam.cleaning[{{raw.code}}]] starting at [{raw.code}}]].
Size: a a a
М
MM
MM
MM
М
MM
М
MM
DL
MM
DL
DL
DL
MM
MM
DL
DL
М
М
app.directive('daterange', function(){
return{
link: function(scope, element){
element.dateRangePicker({
startDate: moment().add(8, 'days'), // стартовая дата
maxDays: 30, // максимальный интервал
}).bind('datepicker-change', function (event,obj) {
console.log("closed");
console.log(obj);
scope.$apply();
});
// element.data('dateRangePicker').open();
}
}
});