Angular Playground
Angular has a command line tool allowing to create projects, adding components, serving the application and many more. See ng --help for more info Typescript, super-set of Javascript, is used.- Components: UI-Code consisting of HTML-template and Code, like Lego-Block
- Service: Reusable Code
- Modules: Organize Code
<img src=angular-elements.png"/>
Consist of imports ```javascript import {Component} from '@angular/core' ```Decorators
@Component({
selector: 'app-customer',
templateUrl: '../customers.component.html'
}}
Class
export class CustomerComponent {
}
<h1 [hidden]="!isVisible">{{title}}</h1>
<button (click)="changeVisibility()">
<tr *ngFor="let cust of filteredCustomers"
: Directive