I'm working on a social app about image posts, and we have to show these posts in multiple screens in the app. The problem is, we are repeating the posts' structure in every screen template, so if we make a change to the structure of the post in some template we have to change that in every template.
My question is, it is possible to create a template -in this case the posts' structure- and send the post object as a parameter so this new template can load it correctly? And of course, call this template everywhere we need it, something like Django blocks and template inheritance. Is there a way to do that in Angular? Thank you.