| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Original HTTPS Page] |
Angular is a development platform, built on TypeScript. As a platform, Angular includes:
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>
`
})
export class HelloWorldComponent {
// 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>Loading…
Loading…
| Back | FazBrowse Home | New Git URL |