Angular has it's own templating feature. So when page is loaded, angular first reads the HTML codes and then interpretes it's scopes, directives and components defined in the codes.
The goals of Angular are:
- to decouple DOM manipulation from application logic. The difficulty of this is dramatically affected by the way the code is structured.
- to decouple the client side of an application from the server side. This allows development work to progress in parallel, and allows for reuse of both sides.
- to provide structure for the journey of building an application: from designing the UI, through writing the business logic, to testing.