Closed ahsanzia341 closed 7 years ago
No in this way, but you can do date math in your controller (using e.g. angular date
filter, Date
object methods, or moment
library) and then use the value in the attr.
$scope.todayPlus4 = "2017-04-14";
only-valid="{'after': 'today', 'before': todayPlus4, 'inclusive': true}"
can I add +4 days to today? like e.g. only-valid="{'after': 'today', 'before':'today + 4' 'inclusive': true}" Is there any way?