Get started
Install AngularTS and build a complete first application without prior framework experience.
AngularTS is a browser framework for building interactive web pages and applications with HTML, JavaScript, and TypeScript. These docs assume no prior framework knowledge.
If you already know the basics, use the task guides to add a feature or the reference to look up an API.
If a complex browser-owned screen needs stronger model-to-view type checking, compare the optional view styles.
Use the cookbook when you have a concrete problem and need a tested implementation pattern.
New terms are defined in the glossary.
AngularTS is buildless, type-safe and reactive JS framework for building structured web applications at any scale. It continues the legacy of AngularJS by providing the best developer experience via immediate productivity without the burden of JS ecosystem tooling. Getting started with AngularTS does not even require JavaScript. All you need is a little bit of HTML. Below is a canonical example of a counter:
<section ng-app ng-cloak>
<button class="btn btn-dark" ng-init="count = 0" ng-click="count++">
Count is: {{ count }}
</button>
</section>
This code demonstrates the following key AngularTS features:
HTML-first: AngularTS is designed for HTML-first approach, meaning your
application logic can be expressed declaratively in your markup using custom
attributes–called directives. Here, we are using ng-init directive to
initialize our application state and ng-click directive to add an event
handler that changes our state.
Template-driven: AngularTS’s built-in template engine automatically keeps
the UI in sync with your application state, eliminating the need for manual
DOM tracking and updates. The {{count}} expression above is an example of
Angular’s interpolation syntax. As the value of count variable increases,
our UI is updated with the new state.
Island-first and zero-cost: AngularTS creates an application on any HTML
tag with ng-app attribute, allowing multiple independent applications
(modules) to live on a single page. This allows AngularTS to work alongside
your existing tech stack where the majority of your page is rendered on the
server, while AngularTS is isolated to small “islands” (regions of your page)
where custom interactivity or personalization is required.
Micro-framework appearance: With its minimal setup, AngularTS is well-suited for quick experiments, LLM-generated code, and learning web development in general. But beneath its lightweight surface, it supports structured enterprise design patterns, MVC architecture, and component-driven design. With its rich directive library, state-based routing and support for animations, AngularTS is a complete package for building large SPAs, server, mobile, and desktop applications.
Install AngularTS and build a complete first application without prior framework experience.
Build and ship one complete AngularTS application from an empty directory.
Understand the small set of ideas that AngularTS applications use: modules, components, scopes, dependency injection, templates, views, and reactivity.
Implement complete AngularTS workflows with explicit state, failure, lifecycle, accessibility, and verification behavior.
Choose and learn AngularTS HTML templates or type-safe component views, which share the same module and component lifecycle.
Learn AngularTS directives by the job they perform before using the individual directive reference pages.
Learn how reusable services handle models, HTTP, REST, realtime messages, routing, and browser storage.
Short decision guides for common AngularTS architecture choices.
Recipes for common AngularTS problems
Build applications with multiple screens, browser URLs, nested layouts, data loading, and guarded transitions.
Add motion to elements as AngularTS inserts, removes, moves, shows, or hides them.
Find exact directive, service, filter, value, router, animation, and generated TypeScript API contracts.
Look up the purpose, syntax, parameters, and examples for each directive shipped by AngularTS.
Look up injectable AngularTS services and their runtime responsibilities.
Transform displayed values in templates without changing the stored value.
Look up browser objects that AngularTS exposes through dependency injection.
Use AngularTS from JVM, JavaScript-targeting, native, and WebAssembly languages.
Move existing AngularJS or earlier AngularTS applications to the current runtime through explicit, testable steps.
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.