So i've updated the codes. i'm trying to make a radio box so when yes is checked on the radio box a textbox appears using angular.js hoping it would work.
<div ng-app="">
<div class="form-group">
<label class="control-label col-sm-2">Experience:</label>
<div class="col-sm-2">
<input type="radio" name="emp_experience" ng-model="experience" value='
<div class="form-group">
<label class="control-label col-sm-2">Experience Years:</label>
<div class="col-sm-4">
<input type="text" name="emp_exp_y" class="form-control" placeholder="Years">
</div>
</div>'
required />Yes
</div>
<div class="col-sm-2">
<input type="radio" name="emp_experience" ng-model="experience" value=" " required />No
</div>
<?php $a = "{{experience}}";
echo <<<EOD $a
EOD;
?>
</div>
</div>
I want the output to generate a textbox when yes is clicked but all I get is the code itself
<div class="form-group"><div class="col-sm-4"><input type="text" name="emp_exp_y" class="form-control" placeholder="Years"> </div></div>