Please enable JavaScript.
Coggle requires JavaScript to display documents.
Continue Angular (Bear in Mind (A component is a typescript class (Purpose…
Continue Angular
NgModel
That is found in the
AppModule
file
The
import
on the above section is for
Typescript
The
import
at the below section is for
Angular
node_modules
are all the dependencies locate
Install bootstrap
locally
npm install --save bootstrap @ 3
now the boostrap installed is part of the
nodemodules
Where all of the dependencies took place
After
installation of bootstrap
Add the bootstrap into the
angular.json
Under the
"architect"
section
search for
"styles"
Include the
path
which is from the node_modules
Bear in Mind
The
new components
will be add in
AppComponent
instead of the
index.html
note that the new component is
Typescript
New component as
export class
All Angular
CLI
project will go to the
app folder
A component is a
typescript class
Consist of
objects
in the
typescript
Note that,
Typescript
is a class that can inherit another class
import component from @ angular/core
to allow the
Angular recognize it as
Component
Purpose of
export class
this file will be execute by the
app.component
What is
@ angular/core
the @ angular/core is a package
Package that consist of
functionalities