Hi,
   After struggled alot i come to know that here the code is working like 
diz when it came to context directive it ll go and load the directive there 
we r assiging the iAttrs.context but in <ul><ul> its nt binding with data 
so its nt effecting there but how to call context directive after binding 
data.Please any one can help it may be helpful for me.
Thanks.

On Wednesday, February 12, 2014 6:33:55 PM UTC+5:30, Deepthi Tulluri wrote:
>
> 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