-1
<div class="input-group" ng-init="d.expiredAt = toDate(d.expiredAt);">
<input type="text" class="form-control" uib-datepicker-popup="dd/MMM/yyyy"
is-open="popup1.opened" ng-required="false"
close-text="Close" ng-model="d.expiredAt" ng-readonly="!editing"/>
我想比較這使用當前最新的日期,並強調用紅色這個領域,如果它是<於當前日期。比較在日期選擇器日期與當前日期
它的用戶在2天后選擇了日期,但表示您在3天后訪問它,因此其過期。因此我想突出顯示它,如果它通過當前日期 –
在這種情況下,它更復雜,也許解決方案可能是使用指令的template-url屬性覆蓋該指令的模板。 –