*in view*
<div class="form-group" ng-class="{ 'has-error' :
userForm.firstName.$invalid && (userForm.firstName.$dirty || submitted)}">
<label><span class="text-danger">* </span>First
Name</label>
<input type="text" name="firstName"
class="form-control" id="firstName"
ng-model='propertyInformation.BookingRequest.TripContact.FirstName'
placeholder="First Name" ng-required="true">
<p ng-show="userForm.firstName.$error.required &&
(userForm.firstName.$dirty || submitted)" class="help-block">
First name is required.
</p>
{{propertyInformation.BookingRequest.TripContact.FirstName}}
</div>
*in Controller.js*
I have an one select option once selected the Selected options based on
that model value should change trough controller.js..........
$scope.propertyInformation.BookingRequest.TripContact.FirstName= 'test';
I am not able to get update value in my textbox like First Name....please
help me.
Thanks,
Sekhar
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.