removed equals directive and included validation in ngChange