added the ng-disabled function