AngularJS

Jun 5 2014 2:05 PM
I have 2 <div> tag one left & another is right ,
left div tag have 10 list tags of anchor tags & right div has ng-view reffering to a template ,
i want to display a some.json data in ng-view on one of the list anchor tag clicking but with some condition,
some.json contains array of data for 10 members with id,name,img,data.
when i click 1st <li><a></a></li> it should display only data with id=1,
if we click on 3rd <li><a></a></li> it should display data from json file with id=3.
i hope u understood my problem ,please help me by sending code to my mail id
thank u in advance