Hi, I can not understand your problem. Can you give us more informations ?
Manu @EmmanuelDemey 2015-08-15 14:14 GMT+02:00 binson eldhose <[email protected]>: > Dear All, > I need to bind an array into select control and save the selected option > to another variable . Please check this plunker code for whole problem and > code > > $scope.actions = [{ name: "alert", id: 1 }, { name: "drop", id: 2 }]; > $scope.raction = $scope.actions[0]; // Keeping first element to > model > > > //Mark-ups/// > <select class="form-control" > ng-model="raction" ng-options="action.name for action in > actions" ></select> > > http://plnkr.co/edit/NTnxAuxwxJrIIeS4sWlM?p=preview > > > > -- > 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. > -- Emmanuel DEMEY Consultant Zenika +33 (0)6 47 47 42 02 [email protected] - fr.linkedin.com/in/emmanueldemey/ Twitter : @EmmanuelDemey -- 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.
