Hi
I want to create reusable component for example image gallery on a website. I want to have html part of the gallery in ejs template and to load data to the template from controller created for that template (dedicated controller generates partial view). How can i make this? I am using Express.js
In
asp.net mvc i have Renderpartial or similar methods. In the case of nodejs I didn't find a solution. I am newbie in field of nodejs.
Ex:
code of parent page
something generated from a different controller for a separate child ejs file.
rest of parent page
Thanks
Wojtek