Hey there! I have an HTML file that includes Angular. I want to make an input field read-only if a certain parameter is present in the URL. I attempted using the code below but unfortunately, it didn't work:
<input type="text" name="firstName" ng-readonly="$location.search().memRen" />
Is there perhaps a solution involving ngIf? I'm still getting the hang of Angular and any help would be appreciated!