Angular
Angular
Angular
------------------------------
Angular.json
if we are serving for diff environments , we can specify specific configurations right here
package.json
.gitignore
all files that are ignored by version control system like git
node_modules
,not only link to it but the real packages with all of its content
src
index.html
-------------------------------------------------------
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
title = 'appointment-app';
@Component
index.html
------------
..
<app-root>
..
inside of this app.component.ts ,we can see the selector for this
component here for this is called app-root( selector: 'app-root')
13. Components
----------------
so when you are adding a new functionality to the application, chances are high that you will add
------------------------------------------------
and then you want to add some users later on , you probably will add a new component to manage
users,
we have already dicovered out first component, it will autometicaly get created , when you do ng
new
one-way Binding
------------------------
@Component({…})
Template(html);
{{ message }}