I am using this date picker component, and here is a plunk demonstrating its usage with ui.bootstrap
version 1.3.3, When I want to use min-date
option for date picker, angular gives me this error, any workaround for this issue?
Error: [$parse:syntax] Syntax Error: Token 'Apr' is an unexpected token at
column 5 of the expression [Wed Apr 05 2017 14:18:41 GMT+0330 (Iran Standard
Time)] starting at [Apr 05 2017 14:18:41 GMT+0330 (Iran Standard Time)].
I asked the owner of the project and he told me to use min-date
on directive instead of options.
Here is working plunk