I have a thumb-nail view of two images and I have two JSON files(named dataOne.json and dataTwo.json). When the user click on one of the images, I want to list out all the elements of the respective JSON file into a new window. How do I achieve this?
HTML:
<div id = "Cities" class = "neighborhood-guides">
<div class = "container">
<div class = "thumbnail" ng-click = "city NYC">
<image src = "Images/NYC.jpg"/>
</div>
<div class = "thumbnail" ng-click = "city LA">
<image src = "Images/LA.jpg"/>
</div>
</div>
</div>