Forwarding User Max Date

I am looking to restrict the max date that can be selected for a forwarding user end date. For example, the user will only be allowed to set a forwarding user that is valid for 60 days and must come back into preferences and extend the date if needed longer. This will avoid someone basically setting an infinite forwarding user.

I figured I could use a simple JavaScript plugin for this, but as I am messing around with the AngularJS scope in the browser console, it seems it does not like when I set a maxDate on the date selector input. As soon as I bring up the date selector, it throws the error in the console seen below:

I am not an AngularJS expert by any means, so hoping someone can shed some light on why setting that properly on the date selector scope is causing an issue.

This is on 8.2p2.