Hi Johannes,
             
   i used ur example its working fn. but i have a problem with my code im 
nt get where im missing.
  here is my code
   
   <div data-ng-repeat="data in res">
        <div data-ng-repeat="d in data">
            <div context="context1_{{d._id}}">
                {{d.name}}
            </div>
            <ul id="context1_{{d._id}}" class="dropdown-menu">
                <li><a ng-click="edit(d.name)">Edit</a></li>
                <li><a ng-click="view()"></a></li>
            </ul>
        </div>
    </div>

This is my script code
   function testCtrl($scope){
              
$scope.res={"data":[{"name":"test1","_id":0},{"name":"test2","_id":1}]};
             $scope.edit=function(name){
                 alert("hello");
             }
          }
 
Here what i need means when i click particular dropdown menu edit i want to 
take tht item name so im trying to make it dynamically but its nt 
displaying dropdown list only. Please let me know whether im doing wrong or 
is there any other way is there.

Thanks.

-- 
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/groups/opt_out.

Reply via email to