In the following if checkbox is clicked the readonly attribute from the textbox must be removed and on unclicking git should be added.Can this be done by angular directive
<div class="radio"> <label> <input type="radio">Project</label> <input type="text" name="project" id="project" readonly/> </div>