angularjs - Setting input type text values for ngdialog -


i trying set values input type="text" in ngdialog server, find populating dummy values not make values show "in dialog" - in if set values in form using javascript see them on textbox in view. however, not seem work ngdialog, - inspite of binding textbox ng-model , name attributes. question is, ngdialog setting text using $modelvalue not show values in text box?

for e.g -  $scope.myform.mytextbox.$modelvalue = "xyz" not show  form in html similar shown below -  <div class="container-fluid" ng-controller="addusercontroller">      <div class="text-center">         <label class="sub-header">add user</label>     </div>      <form action="...r" method="post" name="myform">         <div>             <div>                 <input type="text" class="form-control" ng-model="mytextbox"                     name="mytextbox" required                      ng-minlength = "1" ng-maxlength="50"                     placeholder="enter first name" bs-typeahead>                                 </div>          </div>        </form>     </div>   

please see http://plnkr.co/edit/9vbowtfqncs3askznuua?p=preview

app.controller('addusercontroller', function($scope){    $scope.mytextbox ="some name"  }); 

Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -