Suppose I have $scope.isFileRequired, if it true , then add lf-required , if false then no need to add lf-required. how we can do that ?