HTML template views
Render a component with readable HTML, interpolation, directives, controller methods, and explicit bindings.
A view is the DOM output of a component or directive. AngularTS offers two authoring styles:
Read how to choose. Both styles register on normal modules. A server-rendered module can use HTML while a client-owned dashboard module uses typed programmatic views in the same application.
Render a component with readable HTML, interpolation, directives, controller methods, and explicit bindings.
Construct component DOM in TypeScript with typed tags, properties, events, controller access, and reactive reader functions.
Render keyed reactive collections, preserve DOM identity, and release resources with the owning view.
Decide between HTML templates and typed component views using team, type-safety, DOM, and maintenance requirements.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.