Hi,

I am fairly new to AngularJs. I started using the getter / setter feature. 
Now I have following situation:

<table class="treenode" ng-repeat="(textelementGuid, textelement) in 
textgroup.textelements">
<tr><td>
  <textarea ng-model="textValue" class="value" value="" wrap="off"
></textarea>
</td></tr></table>

Now in the controller in the function textValue I want to know the 
textelementGuid which belongs to the textarea:

...
$scope.textValue = function(aNewValue){
  //how to get the textelementGuid for which the textarea was instantiated 
in ng-repeat???
};

I hope anybody can help me with this.

Greetings, Michael

-- 
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.

Reply via email to