How Angular 4 actually Work

in #angular46 years ago

In this article, I am going to talk about how actually Angular 4 works. Before procedding further, we all should know what is component? So to proceed further, watch the below video in order to understand, how actually this #framework worked.

Now as you people already know that how things work in #Angular 4, but just let me explain a few things. The first thing I am going to talk about is <app-root>

<app-root> </app-root>

<app-root> is actually a selector, which is already defined in app.component.ts file. Let's see the below example;

@Component ({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})

If you see the above example carefully, you will see that the 'app-root' is defined as a selector. You can also see two other things like templateUrl and styleUrls. So I am going to explain it now. templateUrl is actually a file from which we get the data and styleUrls is actually the file of css.
it's mean that when we define any thing in a component will become a tag in an #HTML file. Like;

@Component({
selector: 'app-root'
})

the result in HTML dacument will be:

<app-root> </app-root>

So, that's all from here. To see further explanation you can watch the video, or you can goto the #YouTube channel and watch it there. Here I am including all the #playlist, where you can watch all the concept of Angular. You can also visit the official website of Podina Tutorials to see the complete lesson along with video tutorials and quizzes of Angular 4. So click on Full Angular 4 Series for Free!. Thank you so much and good bye for now.

People I must mention to get feedback for this video are: @thomsoni @stonedbenots @creatrixity @sevcsik @convertball @daynewright @blocktrades @walnut1 @pilcrow @thomsoni @hr1 @gardenofeden

Sort:  

good to see such an article