Skip to content

Angular components

Lennart de Knikker edited this page Jan 30, 2020 · 1 revision

Angular, like other frameworks makes use of a component based structure. Compared to other frameworks Angular does this a bit differently, because not only components are separated, but these components are separated in different files as well. Every component has it's own folder containing a .css file with styling, a .html file with the template and a .ts file with all the necessary javascript.

typescript

Using Angular, you're forced to use typescript in all the component scripts. It took some time to get used to that.

Clone this wiki locally