I started working on angular js. My problem is that I have a text field on which validation is performed, but I want to echo the value of this text field from Db but it is not working......
<input type="text" pattern="[A-Za-z].{3,}" required
name="uname" id="uname" ng-minlength="4" ng-model="uname" class="txtbox-short" value="<?php echo $unamedb; ?>">
<span class="help-inline" ng-show="submitted && xForm.uname.$error.required"></span>
<span class="help-inline" ng-show="xForm.uname.$error.minlength" style="color:red;">Too Short!</span>