Muhammad Umair
Jul 21, 2017 · 1 min read

Angular do provides option to link external HTML template.

Best practices says when template HTML is just two or three lines then it can be write into ts file else extract into separate HTML template file. same for CSS or SASS.

its making more modular and by practicing separation of concerns (SoC) design principle.

I don’t smells spaghetti; if its is written with common sense.

)
    Muhammad Umair

    Written by

    Software Engineer @ Mentor Graphics — Siemens