You are really good at explaining things. Thank you for these videos on Angular. That difference you explained at the beginning is SO important to avoid confusion. You really know what is the best angle to explain a concept
@jaypatel2471 Жыл бұрын
still in 2024 , this is the best course i have ever seen for Angular, i hope sir you make it for angular 17.
@omerdoron11106 жыл бұрын
This is the best tutorial I found for Angular. thank you and keep uploading videos!
@allnoyz78956 жыл бұрын
Absolutely agree with you!!!!
@ffsecretagent32763 жыл бұрын
Same to me
@IndianYakker3 жыл бұрын
2:00 -2:15 , In my case codevolution is showing in green with Italic , its mean I can use both in same time. Codevolution
@debarshibhattacharya91412 жыл бұрын
Same for me, I think in later version of Angular this thing is added
@shahidparwez31874 жыл бұрын
you are one of the best tutors I found for angular on youtube...
@PabloBvch3 жыл бұрын
I could use both without problems. Codevolution Maybe because it works in my version of angular.
@StripesChaosGremlin3 жыл бұрын
Can confirm this is the case, given that this was done in 2017 it wouldn't be surprising if something has changed so that you can now do both and have them take effect.
@mrcMiracle3 жыл бұрын
Both too
@anupamr4373 жыл бұрын
Same for me, regular class attribute and class binding both are working.
@quasi_verum3 жыл бұрын
seem working in the new version of angular.
@panimuthyam57802 жыл бұрын
@codevolution pin this comment
@KaushikGanguly722 жыл бұрын
Using multiple class both classes impacts now.
@shahazhanatova21854 жыл бұрын
you are literally the only person that makes me understand Angular
@cedrics73745 жыл бұрын
I love how you cover every aspect so methodically. This is quality material! No pun intended :)
@senthilbalakrishnan60984 жыл бұрын
Excellent Tutorial which I saw in the youtube. you are one of the best tutors I found for angular on youtube..
@sugathganegoda6 жыл бұрын
Viswa, Thank you very much, I am currently into the seventh tutorial, indications are that I would be up the whole night all the way, the greatest online for Angular so far. Awesome.
@PABackpacker6 жыл бұрын
Great videos so far. Moving from AngularJS (1) to Angular 6. Nice to get a refresher and see what is new. Helpful. Thanks!
@mahabuburrahman81555 жыл бұрын
you are just awesome.... a great person who knows how to teach in an effective way!!!
@najimali324 жыл бұрын
Hey , at 1:35 when we are using both class attribute & class binding , my output shows green & italic style.
@natalyshulzhenko82375 жыл бұрын
This is the best tutorial I have watched! it really helped a lot with understanding complex things
@kholoudaldeyarbi51614 жыл бұрын
In Angular 8 Hello Angular Italic and green color applied to the text , not like in the video !!
@shivaprasadgurram4 жыл бұрын
Agree, In Angular 8 {{site_url}} applied italic and green. @Viswas your videos are too good. But re-check few things when changing title to 8.
@keralacodingacademykca45974 жыл бұрын
Yes Indeed
@aviet904 жыл бұрын
In latest angular it supports
@dexterdofus4354 жыл бұрын
in angualar 9 is support
@rukhsarqawi76974 жыл бұрын
Yeah same here
@DriveandThrive2 жыл бұрын
I love your tutorials I know this is old but very valuable still. Thank you
@divyachandana6 жыл бұрын
Great explanation of each and every concept in detail. Thanks a lot for the help. :)
@ruma93380127576 жыл бұрын
I am damn sure that your channel will reach 1 million subscriber very soon because of your teaching style
@uppuuppu14 жыл бұрын
Best tutorial I ever watch. Thanks
@ONEHLOFIOCHIOCHEME4 ай бұрын
thank you Vishwas, i used both class attribute and class binding on the h2 element and both worked. could it be a case of newer versions in angular?
@sanskar_choudhary4 жыл бұрын
2:02 I didn't understand this point. What is dummy attribute?
@Wael1005 жыл бұрын
Oh, man, your knowledge is so deep. I just subscribed!
@lmrclo4 жыл бұрын
Hi! greetings from Chile! first of all thanks a lot for your dedication and patience, and I'm doing this on the year 2020 and for my works Text you wantshowing italics and green color a the same time Do you know why? just curious about.
@praveshthakur7772 ай бұрын
In present versions there is error when we bind property using [ngClass] , so before it remember to add CommonModule in the component.ts file of that component. as imports:[CommonModule],
@Patryc5 жыл бұрын
Coming from a background in React, this all does not seem very robust. What, if any, build time checks are available for ensuring class bindings and interpolations are valid? Is it possible to enable any intellisense for writing bindings?
@superchannel58605 жыл бұрын
you are really good sir , you clear all concept now I have no confusion. Please make a video on how to upload a website made in angularjs and php
@Lmao-ke9lq4 жыл бұрын
2:10 well...for some reason.....both are aplied for this h2 tag..so it works for me..
@AdrianA-yo8jd4 жыл бұрын
did anyone else notice when using class binding on Angular 10 that when binding the class to an object, changing the boolean of that object doesn't reflect the change in HTML? It's as if once the classes are loaded they're static. But if I put the object inline it works
@akshaymeena41592 жыл бұрын
felt so
@sheetalshelke6795 жыл бұрын
Hi..pls let me know from where can I get this this angular material in text format?
@ahmedfarag84923 жыл бұрын
in angular 11 the binding class will be dummy and it will create only the regular class
@PareshRao6 жыл бұрын
Superb tutorial with really very good practical examples...
@walterwhite11862 жыл бұрын
Thanks a lot 👏👏👏👏👏❤️
@geo_mukkath4 жыл бұрын
I have added the css code to the css file of test and it's not working as expected. The colors are not getting applied nor is the italic text. Is it that if we include inline style in test.component that we get the expected results ? Pls help.
@chivalrous_chevy11636 жыл бұрын
Keep on rocking in the free world, wooo
@kakashitv48654 жыл бұрын
you sound like @pewdiepie!! good tutorial btw!!
@laughoutmeow2 жыл бұрын
in the end he has both text-success and text-danger set to true. Why in this case the text-danger overrides text-success? Arent they both using class binding? My guess is because in thge messageclasses text -danger came after text-success?
@rishukumar75865 жыл бұрын
since class is not a property of a dom element how come we are able to use it as a property binding ?
@shrutiingale96184 жыл бұрын
in angular 5 Text in this i am getting a error which says that it can't bind to 'ngClass' since it doesn't know the property 'h2' what should i do? i am not getting any solution.
@geethasamynathan65984 жыл бұрын
instead of writing messageclasses in component try the below code in html. Binding -Class it is working
@adnankhuwaja12343 жыл бұрын
simple class and class binding both are working in same element
@manusha59404 жыл бұрын
hello sir...I got the output correct even same like by creating object how I got ????that you are said we cannot ?? don't try to type it!!!!!
@Ryuudo1236 жыл бұрын
writing all the html in the ts file template area >
@Codevolution6 жыл бұрын
Did not want to switch between files for simple concepts :)
@Ryuudo1236 жыл бұрын
yes i just saw the explanation in a previous video. thanks.
@guitar6029917 жыл бұрын
great videos , thank you
@shikhapareta54195 жыл бұрын
For me If there is an error this line will be in Red. , this statement is not evaluating the condition check, whether haserror is true or false, for both true and false it shows the text in red. Please help!!!!
@ananthuskumar12865 жыл бұрын
check if hasError=true; not "true"
@akshaymeena41592 жыл бұрын
same problem I am facing changing hasError is not reflecting in output
@calvinzhu74385 жыл бұрын
It should implement ngClass in Angular 7!
@Sachin-qc7nd6 жыл бұрын
[class] can also be used to invoke a function , then why [ngClass] is used
@mohsinriaz48275 жыл бұрын
[ngClass] for objects method. If you will use [class] for objects method then it will not work
@VIjayKumartheh2o5 жыл бұрын
@@mohsinriaz4827 Thanks for the clarification
@AhamedKabeer-wn1jb5 жыл бұрын
Well explained bro....
@abhimanyurathore71855 жыл бұрын
Somebody Help! Why are we using expressions like hasError and isSpecial when we can directly set the values of class to true or false... Another thing when this syntax works perfectly || class="text-special" || why are we using || [class]="expression" || and defining it in the class to the respective class or (true and false)????
@shaik_mohammedimran6 жыл бұрын
It is very useful but how to make this in mouseover event I want the bgcolor is primary color by default If I hover then it wants to change from primary color to orange color Please help in this
@kathiravant16687 жыл бұрын
nice explanation
@sajans53776 жыл бұрын
Usually when we give ng serve it starts running the code of app.module.ts, how we switch to the new component test.component.ts file and run it ?
@tiredoftheliesalready5 жыл бұрын
First off, you do not run components, you run modules. In order to see the component, you would add it to the project, and include its selector under the main application root (usually set up as the *app.component.html* file by default).
@orz55165 жыл бұрын
why not use regular style classes and put them in a css file ? what's the advantage of this? in my opinion, it makes the component messy to mix it with css but mayb i'm missing something... you can apply classes regularly (like in angularJs etc...) Hello and in css file : .myGreenText { ... ... ... }
@nahaing5 жыл бұрын
One More thing i need to clear? Why we can't use more than one class in class attribute like " Nahaing " ?
@nomanahmed76466 жыл бұрын
sir i want to ask that is this an angular 6 tutorial???? bcz i am little bit confuse bcz when i saw some video so he is working with angular 5
@Codevolution6 жыл бұрын
It works with version 6 as well :)
@nahaing5 жыл бұрын
Why we can't use more than one class in class attribute like " Nahaing " ?
@SamSam-rg4lk5 жыл бұрын
you can do it by writing this:
@saeedahmad38094 жыл бұрын
Thank you
@zeusaurel67144 жыл бұрын
How does he time his last words with the end of the video so perfectly in EVERY video????
@jovictor30072 жыл бұрын
Have you ever used a video editing app ?
@zeusaurel67142 жыл бұрын
Hold on brb
@ivandrofly Жыл бұрын
Thanks
@piyushkumarsingh89262 жыл бұрын
Mine looks notNice tutorialng like the way you guys started it would be amazing if soone told how to get the multiple tracks
@mickedansar7 жыл бұрын
Hi! I don't get in messageClass how a class is added or not depending on this.haserror. what does this code do: {text-succes: !this.hasError}?
@ashwanisekhar24967 жыл бұрын
public messageclasses={ "text-danger":this.haserror, // as declared this.haserror i.e "false" "text-success":!this.haserror, //means not this.haserror i.e "true" "text-special":this.special // as declared this.special i.e "true" hence through ngClass only text.success and text.special will be applied ie "green+italic"
@shashidaradk14276 жыл бұрын
@@ashwanisekhar2496 don't give hasError="true" it should be hasError=true. Don't put it inside double quotes as it is treated as text not boolean.
@hakimfazal4265 жыл бұрын
is it necessary to learn both angular and react? some body help me please.
@tiredoftheliesalready5 жыл бұрын
Necessary is defined by what you want to do, and what your job is to do. No language is necessary to all developers, nor framework, nor code style.
@manikumar16626 жыл бұрын
getting below error when I use ngclass,can anyone please help me Can't bind to 'ngclass' since it isn't a known property of 'h2'
@inhquangtien38446 жыл бұрын
hi Mani Kumar, correct me if I wrong. It seems that the syntax for this property incorrect. The 'c' character in [ngclass] property is uppercase like that: [ngClass] not [ngclass].
@strangelylookingperson4 жыл бұрын
Thanks!
@miteshkumawat36234 жыл бұрын
Code Ninja public messageClasses = { "text-success": !this.hasError, "text-danger": this.hasError, "text-special": this.isSpecial } This code doesn't work for me. Please suggest.
@geethasamynathan65984 жыл бұрын
same for me too instead of writing messageclasses in component try the below code in html. Binding -Class it is working
@sonahayrapetyan85884 жыл бұрын
thank you!
@benb68136 жыл бұрын
thank you so much
@sillapriyadarshni7255 Жыл бұрын
better to write 0/1 than true false in boolean
@ai.aspirations6 жыл бұрын
thanks much
@suprakashpal85926 жыл бұрын
hey when i did this public hasError = false; public isSpecial = true; public messageClasses = { "text-fail": !this.hasError, "text-success": !this.hasError, "text-special": this.isSpecial } the result is red. Why? Here "text-fail" and "text-success" both are true. [after 5.45 mins]
@ravikant.chaudhary6 жыл бұрын
Because the second class gets preference over first one. Change the order of text-fail and text-success in messageClasses. You will get it as green
@idlevandal696 жыл бұрын
Phenomenal....
@hendrapurnama35485 жыл бұрын
is good tutorial
@marcodelpercio6 жыл бұрын
I wish you had a tutorial series on Gradle with Eclipse. All the tutorials I found really suck or the author is completely crap at explaining
@parthjangid35874 жыл бұрын
You are damn good , thank you so much
@tacticaltrooper20024 жыл бұрын
Codevolution : As you can see the h2 tag is NOT in italics... Me : But my h2 tag is green and italics.... Code successfully failed
@shadowind304 жыл бұрын
This video is outdated, that's the problem
@hassannasir15646 жыл бұрын
please give me task for practice
@kidoo156711 ай бұрын
4:21
@shubhambhake69034 жыл бұрын
kindly simple words and make simple statement while explaining code...most of word are high for beginer.
@brandonflorida10926 жыл бұрын
So, you show us what putting square brackets around the word class does, but never tell us what enclosing it with square brackets means. Also, you show us what ngClass does, but never really say what it is. I think I get it, but introducing terms by simply starting to use them without ever defining them is poor teaching. That being said, you're still a better teacher than most other people making educational videos on KZbin.
@vinayn91106 жыл бұрын
I actually like the way he goes through what you can do with each command. Previously I have been watching tutorials on Udemy, they helped me understand the basics, but I got frustrated that they did not explain all the ways you can use a command. For me what he is doing is not poor teaching. I can get through his course in about 10 days, which is much better than the slow pace of other courses. These slower courses however are good to start with, maybe you need to look at the Udemy course by Maximilian Schwarzmüller.
@tiredoftheliesalready5 жыл бұрын
So, you want him to spend time explaining the deeper workings of Angular, rather than explaining how to use the common pieces therein? Why should he explain bindings in-depth in a course that is meant to get people producing and understanding basic concepts, when that is an advanced topic that most people will never actually recall or use in their daily work? Of the 40+ developers in my old department, only two of them ever needed to know the in-depth, and that is because they were writing custom directives and attributes. He is not a poor teacher; he is effectively teaching what his course set out to do, without bogging down the watcher with effectively useless (and confusing) details that will not impact them in any manner. Even now, four years later...it is still only those two developers needing to know the "plumbing" of Angular, although the department now has over 60 developers.
@bruhaspati5606 жыл бұрын
its a good idea to write 1 and 0 instead of "true" or "false" !!
@songlee84567 жыл бұрын
5 🌟
@Ryuudo1236 жыл бұрын
Title says class binding so i thought it was a typescript class, but you actually meant css classes