Solved
What is the best way to get current page title in a sling model in aem
Can anyone please tell me the which way is most optimized way to get the current page title in a sling model , should i use @scriptVariable and get currentPage or can is use @Named("jcr:title") or any other best approach