Angular is a development platform, built on TypeScript. As a platform, Angular includes:
A component-based framework for building scalable web applications
A collection of well-integrated libraries that cover a wide variety of features, including routing, forms management, client-server communication, and more
A suite of developer tools to help you develop, build, test, and update your code
With Angular, you're taking advantage of a platform that can scale from single-developer projects to enterprise-level applications.
The following is a minimal Angular component.
import{Component}from'@angular/core';
@Component({selector: 'hello-world',template: ` <h2>Hello World</h2> <p>This is my first component!</p> `})exportclassHelloWorldComponent{// The code in this class drives the component's behavior.}
To use this component, you write the following in a template:
<hello-world></hello-world>
When Angular renders this component, the resulting DOM looks like this:
<hello-world><h2>Hello World</h2><p>This is my first component!</p></hello-world>
There was an error while loading. Please reload this page.
Most used topics
Loading…
Uh oh!
There was an error while loading. Please reload this page.
You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.