add ngModel binding for the directive and implement the today function