Angular Tutorial - 12 - ngIf Directive

  Рет қаралды 447,805

Codevolution

Codevolution

Күн бұрын

Пікірлер: 83
@bhimanna473
@bhimanna473 3 жыл бұрын
I have been watching many tutorials But yours was cool, straightforward within time-frame, easy to understand because of simpler examples
@songlee8456
@songlee8456 7 жыл бұрын
Ok ok another 5 🌟. That's all for tonight 2am. I'm addicted to your tutorial.
@chassisboy1
@chassisboy1 6 жыл бұрын
Man you are really great.... This is an perfect tutorial for an Angular Beginner.... Good command over language and clear in concepts.... I'm too addicted to your tutorial....
@John-Weak
@John-Weak 4 жыл бұрын
its ngIf not ngif,do not repeat my mistake guys :)
@irene693
@irene693 7 жыл бұрын
Your tutorials are very straightforward and easy to understand, thanks so much.
@mohdmuzaffarahmed4923
@mohdmuzaffarahmed4923 4 жыл бұрын
The way u explain is outstanding brother
@martinkarugaba
@martinkarugaba 5 жыл бұрын
Your tutorials are the best.
@PatrickvonMassow
@PatrickvonMassow 6 жыл бұрын
Your tutorial is very helpful and the explanations are well-structured and straight forward! One little thing I noticed in your videos: Your audio is often distorted when you speak louder. It would help to reduce the input sensitivity of your mic. The loss in volume can easily be compensated by applying normalization plus dynamic compression of your audio (which are steps you should always apply, regardless of this problem).
@inhquangtien3844
@inhquangtien3844 5 жыл бұрын
Your tutorials are very straightforward and easy to understand. Thank you very much!
@niteshraut1430
@niteshraut1430 4 жыл бұрын
I don't think display:none; will show up in the DOM but visibility:hidden is present in the DOM but not displayed. 1:50
@nikunjgurjar7149
@nikunjgurjar7149 4 жыл бұрын
It is really helpful for Beginners. Great job!
@pascalsolutions6158
@pascalsolutions6158 5 жыл бұрын
This man is a genius
@NoName-vw9hl
@NoName-vw9hl 4 жыл бұрын
if u are listening to the video for the first time , set the playback speed to normal to listen the concepts initially and once done to revise the concepts set the playback speed to 1.25 and listen to video.
@AmitKumar-yd1cp
@AmitKumar-yd1cp 6 жыл бұрын
Thank you for telling how to do "if else" using *ngIf ..especially @this video->06:45. Will you please also tell, how to do "if elseif else" ..kind of situation?. Thank you in anticipation
@nehalneki1511
@nehalneki1511 4 жыл бұрын
by using ternary operators
@youssefbaaziz3673
@youssefbaaziz3673 3 жыл бұрын
use ngswitch , change the variable values in the TS files
@nikunjgurjar7149
@nikunjgurjar7149 4 жыл бұрын
You are explaining awesome! Thanks a lot
@tahaiftekhar6466
@tahaiftekhar6466 6 жыл бұрын
Great! But I think I'll do this Condition True Condition False
@jackabrams5859
@jackabrams5859 4 жыл бұрын
That looks a lot better. Does it still work?
@jahiruljitu3255
@jahiruljitu3255 3 жыл бұрын
@@jackabrams5859 Works but not good for practices.
@muhammadidrees6650
@muhammadidrees6650 6 жыл бұрын
you are legend mate, love the way you explain, heaps thanks
@tshegofatsothejane2345
@tshegofatsothejane2345 3 жыл бұрын
Simple and clear. Thank you.
@MajiDJaki
@MajiDJaki 6 жыл бұрын
oh i wish i could never sleep. thanks a lot man. Amazing
@bittooaggarwal5776
@bittooaggarwal5776 3 жыл бұрын
Hello World Hello Universe Vishwas, the above code works as the same you explained. Is there any benefit of using ng-template?
@prabhakargautam6045
@prabhakargautam6045 Жыл бұрын
tq its helpfull
@J0hn1ee
@J0hn1ee 6 жыл бұрын
I like the way you teach thanks a lot for your effort
@ماياالقدور
@ماياالقدور 5 жыл бұрын
it's the first time i see the second way it's amazing
@pratibhakshirsagar7476
@pratibhakshirsagar7476 6 жыл бұрын
Hello sir, Its Very nice explanation clean n neat...Thank you for this nice videos
@vinaykumar-qe4zx
@vinaykumar-qe4zx 5 жыл бұрын
qualitative teaching
@sudhir600
@sudhir600 5 жыл бұрын
is there no option like ng-if, ng-else-if, ng-else just like v-if, v-else-if and v-else in vuejs ?
@akshayjaisinghani2039
@akshayjaisinghani2039 4 жыл бұрын
Please provide the keyboard shortcuts you use while editing... I wonder how you produce the codes in just a click, your overall lectures are great. Thanks in advance
@justelaima2896
@justelaima2896 Жыл бұрын
@nitindelhiful
@nitindelhiful 6 жыл бұрын
the concepts are so easily described that i doubt/wonder if some information is missing :-)
@acuteclub7381
@acuteclub7381 6 жыл бұрын
well explained...thanks
@ruma9338012757
@ruma9338012757 6 жыл бұрын
can you explain the example you gave ngif="true/false" is how different from css property display ="none"
@amandixit2389
@amandixit2389 4 жыл бұрын
can we use something displayname:boolean=true;?????????
@lexiaontube
@lexiaontube 6 жыл бұрын
THX !!!! great tutorials !!!!
@kirthimedia5235
@kirthimedia5235 4 жыл бұрын
I've updated Angular CLi.. still not able to run If Else Directive.. but able to execute same code on some online platform.. Any help would be highly appreciated..
@estherwashu4783
@estherwashu4783 5 жыл бұрын
so helpful thankyou
@keerthanaananth1074
@keerthanaananth1074 3 жыл бұрын
i have a doubt i cant able to run my code if i run only app.html file is running inside my app i created a components file test but how to run test components
@achmadrf1243
@achmadrf1243 4 жыл бұрын
i have interger variabel, i want a content show only when my variabel has integer data(not spesific data). how to code it? thanks
@sahilarora273
@sahilarora273 6 жыл бұрын
hi , thanks for your tutorial can you show it how we can do with button click event ?
@vipulhasija5692
@vipulhasija5692 4 жыл бұрын
Do we have a nested if or else if in angular..?
@mhaesh
@mhaesh 6 жыл бұрын
Getting below error. Template parse errors: Can't bind to 'ngif' since it isn't a known property of 'h2'. (" ]*ngif=true> Madhusudhan "): ng:///AppModule/Test1Component.html@1:6 Property binding ngif not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the "@NgModule.declarations". (" [ERROR ->] Madhusudhan "): ng:///AppModule/Test1Component.html@1:2 at syntaxError (compiler.js:1021) at TemplateParser.push../node_modules/@angular/compiler/fesm5/compiler.js.TemplateParser.parse (compiler.js:14830) at
@ruudhermans4243
@ruudhermans4243 5 жыл бұрын
It's ngIf not ngif.
@ruudhermans4243
@ruudhermans4243 5 жыл бұрын
Using CLI version 8.0.4 it seems that you must have declared the ng-template before you can use it.
@natashajanice6242
@natashajanice6242 7 жыл бұрын
Is 'else if' supported?
@adesinaoladimeji2995
@adesinaoladimeji2995 3 жыл бұрын
you are fantastic
@kathiravant1668
@kathiravant1668 7 жыл бұрын
thank u its pretty clear
@ashutoshojha368
@ashutoshojha368 2 жыл бұрын
Can you please share the code of the programs which you have generated in this program for practice purpose
@Stupid_Common_Man_suraj
@Stupid_Common_Man_suraj 4 жыл бұрын
hello bro ,what if we want to nest one else in anther .thanks in advance...
@dheerajmishra7182
@dheerajmishra7182 5 жыл бұрын
Can we add multiple then block?
@sufyanvictori
@sufyanvictori 2 жыл бұрын
NgIf condition for two components click one components work other stop ...... how it works
@nehamaha13
@nehamaha13 6 жыл бұрын
Hey, then is not working for me. else is working but not then. Can you please help me out
@amitmaheshwari8293
@amitmaheshwari8293 6 жыл бұрын
Just ensure that the displayName variable value is not in inverted commas.
@RahulSingh-ex2sm
@RahulSingh-ex2sm 5 жыл бұрын
Awesome!
@sayakbanerjee9990
@sayakbanerjee9990 Жыл бұрын
if u r getting error in then statement declare displayName as public
@vvntechnologiespvtltd6843
@vvntechnologiespvtltd6843 6 жыл бұрын
very helpful tutorial..thanks alot...plz provide all these videos CODE link
@birajaprasad
@birajaprasad 5 жыл бұрын
sir, what about reusable component
@mostwanted2000
@mostwanted2000 6 жыл бұрын
very good tutorial but so blurry. why you didn't record it in 1080?
@songlee8456
@songlee8456 6 жыл бұрын
Most Wanted ...check your setting. The problem is from your side. His videos are crystal clear
@moh_has99
@moh_has99 6 жыл бұрын
how to use *ngIf to check if array empty or not !?
@natetolbert3671
@natetolbert3671 5 жыл бұрын
Can you not just attach the ref variable to the alternate h2 element instead of wrapping it in a directive. Seems like that would make things simpler. Then again, I haven't finished the video, so I may be missing something...
@richardpadua3928
@richardpadua3928 4 жыл бұрын
i think the first method "inline" is easier..ill go with that
@robeeeeen
@robeeeeen 5 жыл бұрын
🌟 🌟 🌟 🌟 🌟 Excellent!
@nidhithakur6636
@nidhithakur6636 3 жыл бұрын
thank you
@ghani.afridi
@ghani.afridi 7 жыл бұрын
Can I use two way binding with it and have a button to toggle display name on and off
@Skaxarrat
@Skaxarrat 6 жыл бұрын
Yes. Just create a method that toggles a boolean on and off and activate it when you click that button.
@ahoussimea7164
@ahoussimea7164 6 жыл бұрын
use *ngIf
@mahmoudabdelsattar8860
@mahmoudabdelsattar8860 6 жыл бұрын
Module not found: Error: Can't resolve './
@rajatsethi6000
@rajatsethi6000 6 жыл бұрын
Replace templateUrl to template
@modgenesis3868
@modgenesis3868 6 жыл бұрын
@RAJA SETHI Thanks
@Tedendityqdarr-k6b
@Tedendityqdarr-k6b 2 ай бұрын
12:17
@deenriqo
@deenriqo 6 жыл бұрын
This is a good tutorial. But Angular made this too complicated. Look at how its done in LitElement or React . Much easier.
@syedsameer382
@syedsameer382 5 жыл бұрын
please create udemy turorial...
@yuvarajnagu7243
@yuvarajnagu7243 4 жыл бұрын
Where 11 th video
@alihosseinkhani2671
@alihosseinkhani2671 3 жыл бұрын
Ty
@spiderous
@spiderous 6 жыл бұрын
Why it has to be so much complicated... I used to code in raw JS and everything was a lot of easier than in these dumb frameworks...
@rameshd8436
@rameshd8436 2 жыл бұрын
Dint read document
@SahilSingh-hc4fk
@SahilSingh-hc4fk 5 жыл бұрын
trutheeeee
@jeremylowrey7820
@jeremylowrey7820 5 жыл бұрын
This *ngIf syntax of Angular makes me cringe! I'm coming from Meteor and Vue which have elegant if/else-if/else directives (I'm being forced to switch to Angular at my job). I still haven't come across an example that includes else-if and I'm afraid it doesn't exist. Looks like you must nest another if/else! This whole idea of making a inner template per case is outrageous for overhead and readability in my opinion. This is a modern day GOTO statement which is not a good thing especially when you lose else-if at the same scope of the if/else.
@ai.aspirations
@ai.aspirations 6 жыл бұрын
magnefique
@_slier
@_slier 6 жыл бұрын
unnecessary verbose..damn..im being forced to used angular and hated it
Angular Tutorial - 13 - ngSwitch Directive
2:38
Codevolution
Рет қаралды 304 М.
Angular Tutorial - 15 - Component Interaction
9:33
Codevolution
Рет қаралды 563 М.
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
Angular Tutorial - 23 - Routing and Navigation
12:51
Codevolution
Рет қаралды 933 М.
Angular v19 Developer Event
22:54
Angular
Рет қаралды 75 М.
Angular Tutorial - 11 - Two Way Binding
4:29
Codevolution
Рет қаралды 445 М.
Directives in Angular Applications
25:13
Programming with Mosh
Рет қаралды 182 М.
*ngFor in Angular | For loop in Angular | Angular Tutorial
13:35
ngClass Directive in Angular | Directives | Angular 12+
7:56
procademy
Рет қаралды 46 М.
Angular Tutorial - 18 - Dependency Injection
9:25
Codevolution
Рет қаралды 527 М.
Angular Tutorial - 20 - HTTP and Observables
7:41
Codevolution
Рет қаралды 680 М.
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН