Asked • 08/30/19

Angular header/footer, Component or Module?

I have been learning angular for a while now and I understand the point of modules and components (briefly) but now I am starting my own project using the framework I am somewhat confused. When should I choose either a component or a module. Can you help?For example, for the site's basic wire-frame (ie headers, footers, side bars etc.) what should I use? Should something like:- App: - Layout module: - Header Component - Footer ComponentOr: - App: - Header Module - Footer ModuleOr just have them all as components, like: - App - Header Component - Footer ComponentI am not looking for an outright answer, just a steer or some guidance please?Thanks

1 Expert Answer


Jayson A. answered • 01/04/20

5 (6)

Full Stack Software Engineer with 4+ years of industry experience

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.


Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.