I am a beginner in AngularJS and I am attempting to create a page similar to the example provided here.
While the example works perfectly when copied from the link above, I am facing difficulties trying to integrate it into my folder structure as displayed below.
Specifically, I am unable to load any content in the lensdetail.html
partial.
The URL updates with the correct country name, but I can't seem to display the remaining JSON data. Why is this happening?
For clarity, I have only included snippets of code that are causing issues:
index.html
... (omitted for brevity)
Service.js
... (omitted for brevity)
countries.json
... (omitted for brevity)
App.js
... (omitted for brevity)
m42catalogctrl.js
... (omitted for brevity)
m42catalog.html
... (omitted for brevity)
lensdetailctrl.js
... (omitted for brevity)
lensDetail.html
... (omitted for brevity)