(License: CC BY-SA 4.0)
node –v
commandnpm –v
to see if it is installednpm install -g @angular/cli
to install all Angular CLIng version
to check the version of Angular CLInpm install
then npm install -g npm
ng serve -o
student.service.ts
and to the list [
{"id": 1, "name": "Chris", "age": 21},
{"id": 2, "name": "Denzel", "age": 21},
{"id": 3, "name": "David", "age": 21},
{"id": 4, "name": "Danielle", "age": 21},
{"id": 5, "name": "Josh", "age": 21},
{"id": 6, "name": "Anne", "age": 21},
{"id": 7, "name": "Anca", "age": 21},
{"id": 8, "name": "John", "age": 21}
]
export interface StuInterface {
id: number;<br>
name: string;<br>
age: number;<br>
}