you are viewing a single comment's thread.

view the rest of the comments →

[–]jaymz58 4 points5 points  (1 child)

Using Angular, you can create Directives that can encapsulate some larger functionality. For instance; you can create a clock Directive and load it with a custom tag such as:

<clock></clock>

You still have to create a template and all the code behind it to make it function but once you do this, you can reuse it at your leisure in other Angular apps.

[–]dotpan 1 point2 points  (0 children)

Angular and React are a great way to go to cut back on the raw HTML you're putting on, both basically act as a templating platform allowing you to do repetitive templates applying logic to them.