Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Angular Integration in AEM - Currentpage is not working


Level 5

Hi Team,


We are currently integrating AEM with angular.

Hitting URL :

http://localhost:4502/content/my-project/us/en/home.html page at which we are including the component(i.e. getting a current page method in sling model) but its returning always en.model.json


Path: "/content/my-project/us/en.model.json" is the path given by JSON.

Expectation: /content/my-project/us/home.model.json

Is there anything we are missing or any way to get the current page object on JSON file 

1 Reply


Community Advisor

Hi @sathya_prakasha 


What is the navigation root you have configured on your component? I believe you must have configured it as "/content/my-project/us/en" which is why your component response is returning as /content/my-project/us/en.model.json and that is expected functionality.


Refer the link here for more info: