# Installer Angular
1. Installer NPM
[npmjs.com/get-npm](https://www.npmjs.com/get-npm)
---
# Installer Angular
```bash
npm install –g @angular/cli
```
---
# Opret projekt
```bash
ng new hello-world
cd hello-world
ng serve
```
---
# Tilpas app.component.html
Erstat alt indhold med:
```htmlmixed=
<p>Hello world!</p>
```
---
# Installer Native Script
```bash
npm install –g nativescript
```
---
# Opret projekt
```bash
tns create helloworld --template tns-template-blank-ng
cd helloworld
tns preview
```
---
# Tilpas home.component.html
Tilføj følgende:
```htmlmixed=6
<Label text="Hello World!"></Label>
```
Ændringen slår igennem med det samme...
{"metaMigratedAt":"2023-06-15T02:16:51.060Z","metaMigratedFrom":"YAML","title":"Angular - Hello World demo","breaks":true,"description":"Præsentation til KIT d 9. december 2019","contributors":"[{\"id\":\"73b31685-6bbe-493a-b0b5-96620d5f7259\",\"add\":1050,\"del\":265}]"}