I want to show a div of form fields in a form (containing reason for rush service) if the value of Due_Date is a date less than or equal to when the form is completed.
I have tried ng-if but it waits until the form is submitted to work and I tried to figure out a ng-show or ng-hide but dates are making it impossible. Do I need to create a new Date object in javascript to compare it to or does AngularJS know what time it is? What format do I need to convert to for date subtraction?
Any guidance is coveted.