Man, you are awesome. Nobody could further simplify these concepts and explain even better than you. Thanks a lot.
@naveenkumar-wl5tn7 жыл бұрын
really these vedios are superb..i search for customm directive link n compile topics on youtube ans i saw many vedios on this..but i dint get clarity..but with your vedios..i am very clear ..thanku very much for ur effort...keep posting..
@Techcbt-online7 жыл бұрын
Thanks Naveen
@CodeCraftsman7 жыл бұрын
One of awesome video I have ever seen on angular you nailed it sir :)
@pradeepkumar-tx8fo6 жыл бұрын
your videos are simply wow..such a clear explanation..thank you
@PrettyPrishaB8 жыл бұрын
Detailed explanation which is very usefull.. Excellent..!!
@Techcbt-online8 жыл бұрын
Thanks Bhalchandra
@ajitmote3187 жыл бұрын
Thanks its very useful video i got clear idea about compile ,link and dom manipulation through your video.
@0abh7 жыл бұрын
Hi Tech CBT, Hi recently came across your tutorial series and find it very useful who wants to understand the Angularjs concepts. Keep up the good work!! I have one question - At 8:40 minute the attribute value {{i}} is not evaluated in directive controller and you are using $interpolate service to achieve that. My question is why the expression is not evaluated there despite scope is available in controller. May be you can point me to related link for details
@Techcbt-online7 жыл бұрын
This would you a complete explanation on when to use interpolate: kzbin.info/www/bejne/Z324qoKVot-Gjqc Thanks.
@prasadn868 жыл бұрын
Thank you for the detailed explanation.....Keep going......
@Techcbt-online8 жыл бұрын
Thank you.
@Techcbt-online8 жыл бұрын
"Angular JS Compile and Link - Part 1" is available here: kzbin.info/www/bejne/mJupooavmcl2m6M
@anandhegde93457 жыл бұрын
Controller will also be working with the instance of the template itself right? Then why the attributes are directly accessible inside the pre and post function, but not inside controller?
@meetrajasekar8 жыл бұрын
Thanks for the detailed explanation!!!
@Techcbt-online8 жыл бұрын
Thank you
@sdmj7305 жыл бұрын
awesome tutorials......thanks
@trinathrok53957 жыл бұрын
HI, Thanks! for your detailed explanation, it's really helps me all what are all phase happening behind the scenes. I have a doubt about pre link function. you are suggesting all kind of DOM manipulations and event handling in post link function, could you please explain in which scenario pre link function useful
@abrieljohngabriel86867 жыл бұрын
Hello! This has been very helpful for me because I am just starting with angularjs. However I have a question regarding the post-link function. Let's say I have a template that has several items in it. How can I access those and create some kind of manipulation? Will the iElement still be the best place to use it? Thanks so much!
@nishants39677 жыл бұрын
Hi Sir, I have two queries regarding compile and link of directive: 1)The $scope which has been used in controller of directive would be same, from the outer html element or outer controller in which directive has been inserted(just like case of shared or inherited )..is it right what i have perceived? 2)Just guessing that {{i}} --In Controller ,didn't evaluated before interpolation because as you said(in prev video) in the 'controller phase' of directive after compile phase,the scope is just initialized and so its not evaluated and bind yet..right?Am i understanding correct? Kindly reply for above. Thank you for such nice tutorials and teaching! :)
@HemantKumar-yk2jk8 жыл бұрын
Excellent video ... Thank You.
@Techcbt-online8 жыл бұрын
Thank you Hemant
@praveenkonduru7 жыл бұрын
It was a great video.. not to mention i think, i went through several links and tutorials but this was the best. I think we understand better when some explains the way we talk. Could you please clarify what ever we did in post, even if we do in pre that should have worked correct? since scope should be available at pre as well. So can you tell a scenario where pre would be useful. Is there any thing more we could do at post which is not possible in pre.
@yasserebrahim85347 жыл бұрын
Hi, thanks for all the very useful videos. Is there any place where we could find the code used in each video? Thanks a bunch!
@kiranchandra23738 жыл бұрын
Good videos. :) I have 2 questions here 1) Does the directive's controller scope is related to the actual angular controller scope in which the directive is declared? 2) Can we include the event handling when we have only the post link defined and if yes how to include it and where to include it?
@Techcbt-online8 жыл бұрын
Thanks Kiran. My answers below 1. Not always. Directive's controller scope could be different from that of angular controller scope. 2. It really burns down to the requirement. You might want to check the cycle here: kzbin.info/www/bejne/mJupooavmcl2m6M
@sskrypt4607 жыл бұрын
Hi, you're videos are very good. I have a query though: You wrote : in your a01.htm: {{i}} but in the directive definition we had not specified anything like Transclude : true, But still {{i}} in the 2nd line is getting calculated and not being replaced by the directive. Wondering how this is possible?
@Techcbt-online7 жыл бұрын
Any jsfiddle?
@burakyigit14467 жыл бұрын
i have one question, does the controller phase/function of the directive initialize an isolated scope (directive specific scope) or initialize the the element's controller scope?
@tarunpahuja34437 жыл бұрын
unless until specified directives do not create new scope instead they use parent scope ( which could be controller scope or root scope )
@deepikaanna97476 жыл бұрын
Can you upload a video on custom validation for checkbox
@n.rukkumani72977 жыл бұрын
can u explain more detail about pre and post link function please sir
@HemantKumar-yk2jk8 жыл бұрын
In controller function you are using $scope , $element etc.. but in post function argument you are using as scope,iElements,iAttributes.. Could you please explain why $ sign is not present except controller function .
@Techcbt-online8 жыл бұрын
In JS, a variable can have $ symbol. And thus, '$scope' is as good as '$a' or just 'a'. It is just a standard way of defining things. You can still use $scope instead of scope. Hope this explains. Thank you.
@HemantKumar-yk2jk8 жыл бұрын
thanks for the explanation...
@anuragsarkar607 жыл бұрын
Wonderful!!
@vishaljain88688 жыл бұрын
I completed the functionality of this tutorial without including jquery....how onclick event worked with only angularjs included?
@Techcbt-online8 жыл бұрын
"ng-click" ?
@mehtav238 жыл бұрын
I guess angular include jQuery lite which allows you do so
@aakashggujju4 жыл бұрын
Thank you sir
@Ahmed536q8 жыл бұрын
knowledge full ..... :)
@Techcbt-online8 жыл бұрын
Thanks Ahmad
@dipteshmukherjee3467 жыл бұрын
Excellent
@Techcbt-online7 жыл бұрын
Thank you
@sachinshinde50128 жыл бұрын
Hello Tech CBT can we have github repo link for all these snippets?
@Techcbt-online8 жыл бұрын
We keep adding those in the form of gists. You will have them here: gist.github.com/techcbt We are adding more everyday and have them rendered as part of tutorials.techcbt.com
@arunrana3818 жыл бұрын
Thank you!
@Techcbt-online8 жыл бұрын
Thanks Arun
@nitinsonionline7 жыл бұрын
I don't get why controller needs interpolation though it is having its own scope
@Techcbt-online7 жыл бұрын
You might want to check this: kzbin.info/www/bejne/Z324qoKVot-Gjqc
@MounicaMunnaluri8 жыл бұрын
Can you explain $compile in angular js
@Techcbt-online8 жыл бұрын
Sure. We need to cover a few more, before we start on $compile. Tune in ;)