went through lot of docs today . But this one is best to start learning. I would like to listen more from your side on angular 2. More scenarios and examples. Thanks a lot for this video.
I've been looking through a number of tutorials that would help me kick off the learning process. This must be the simplest and quickest video that I've encountered thus far. Thank you!
i think if you put this in an annotation it is clear. it was just confusing for me when following the official documentation and youtube videos at the same time :) it does not change much about the content of your video.
If I am new to Angular, should I learn Angular 2 right away or should I learn Angular 1 first? I just want to mention that I do not need the particular experience or skills for the sake of a job. I would like to learn for my own sake and for my own convenience. I would like to build better web apps as well as mobile apps with Ionic. Can I safely learn Angular 2 without missing out on anything important?
You only need @Injectable if your service has injected dependencies. Although you are right the Angular team do say to add it as a best practice even if you do not need it as you may later.
Hi Thanks for the complement I have been very busy with travel for conferences and Pluralsight and have a bunch of free NDC Videos not listed here if interested in more or on Pluralsight. I will be making more for youtube again soon.
Hi You are right the arrows should point the other way :) It has been almost two years now since this early into to Angular 2. Wow has the framework come a long way.
Having worked on several Angular and also server side rendered apps with ASP.NET MVC in the last year. They both have their merits. I find the user experience better on a client-side app with Angular without the page refreshes. I also find that it is easier to make a complex UI with Angular versus the spaghetti code of a lot of custom JavaScript/JQuery. That said I do not mind ASP.NET MVC and traditional server-side rendered HTML as they are often faster to make and are less buggy with less state to manage on the client.
I heard that controller and $scope is gone in Ng2, but how about routing? And do we still have filter, can we still define provider, value and factory on a module? And is the bootstrapping process and digest life-cycle the same?
Hi Angular is now very different. Routing is also different but better. Filters are now called pipes and dependency injection is still a primary piece for managing dependencies but the syntax is different with TypesScript. Digest cycle or change detection is also very different. Hard to compare best to just move forward learning the new things and not get to lost trying to find similarities, then after some trying decide if you like it :)
+Tom Peterson This is the default if you use TypeScript with Angular 2. The code completion and error handling come from the definitely typed files which Angular2 ship with their npm package.
Thanks.. Everything looks super.. but type script is overwhelming as I working on java script from so much time, I love to see if you will create Angular 2 app with javascript. Please post one video on that.
+Nitish Surelia Yeah I can understand that as I like JavaScript a lot too. I would recommend giving TypeScript a try it really is just JavaScript with types. You can do just JavaScript but I think if doing Angular2 I would suggest that you use TypeScript. If you do not like the types you can still have a .ts file type and write normal JavaScript :)
It seems very confusing to me. I have been trying to learn React and it seems easier to me. I am a total noob though so could you tell me the benefit of one to the other? Are they just different ways?
Why don't we put the code for getName() in the constructor itself at @14:19 , wouldn't that do the same thing without the need of an additional function. What am I missing here
Hi Duncan, You been very kind to guide me. Having started my journey and covered a few basics I have arrived at the following. I will cover the MEAN stack and also learn python as a standalone server side language. JS seems to be the future so I am going to get depth in that area and python is a breeze to learn which make me inclined to it. In the future if I need to branch to AI then it s good option too... I am love backend and logic side of things so I think this will excite me more.
MEAN stack is good as everything is JavaScript but eventually learning other languages is good. I found and do still find it hard to focus on a few things at a time versus learning so many things at once.
but server side and client side logic will be JavaScript in the mean stack. You almost always have JavaScript on the frontend but the backend could be C#, Java or JavaScript etc it is less confusing at first if it is one less language
Oh I gottacha. You mean you find it easy to focus on one language at a time. I completely agree. My focus is Javascript. I am also learning python but more as a hobby. I find it to be the future but Javascript is ubiquitous presently and that makes it a must to know, in my view. I hate the syntax of JS though :) but have to learn it - for the mortgage :)
Hey Duncan am stuck I have a navigation menu in a parent component but when I press on a link to a child component.. The navigation menu appears in the top of the child. How will I hide the navigation from the child or make it not appear in the child component. Do you have any video tutorial for that in angular 4. Please help. Its urgent.
Hi Hard to visualise your issue but I am guessing you need to put your menu outside the router outlet on your app module? If you post a like to a github repo I am happy to look
Hi Angular works best with a RESTful backend which from what I understand you can do with Django. I do not know Django but a very quick google led me to a popular forum discussing the topic stackoverflow.com/questions/34672987/django-with-angular-2. Hope this helps
Clarity and to the point. Thank you
Very clear and concise overview of angular2. The best I have seen so far! Thank you.
the best 15 min Angular2 intro over internet, thanks really!
Thank you Duncan. This is a very nice and compact introduction to Angular 2.
Thanks Very much for the detail explanation and introduction to Angular2. the best I Have seen all day.
Thank you so much Ducan. you have explained with ease for newB. Great help !!
my pleasure thanks for watching
Concepts are explained very nicely! Thank you Duncan.
고맙습니다.
도움이 되었습니다.
기초적인 개념을 배웠습니다.
Thanks Duncan. Very concise and clear video.
subscribed! Love your video it's straight forward and easy to understand.
went through lot of docs today . But this one is best to start learning. I would like to listen more from your side on angular 2. More scenarios and examples. Thanks a lot for this video.
Thank you Duncan God Bless you!!
I've been looking through a number of tutorials that would help me kick off the learning process. This must be the simplest and quickest video that I've encountered thus far. Thank you!
Thanks Ritwik I am glad you liked it. A lot to cover in 15min :)
True, but you covered it well nonetheless :)
Thank you so much. It is best angluar2 tutorial video I can find on the Internet!
pretty usefully and straight forward, thanks
Thanks so much sir!!! You really simplified the whole thing!
Thanks for the great introduction. Very helpful indeed.
Key information; brilliantly presented, good stuff
Thanks , I have just started angular js 2. Its almost different from the angular js 1 .Its good explanation.
thanks. Sure is different.
thank you so much! clear and simple
very simple & clear intro! Thanks
Lol the boast of rock climbing photo. Seems like a fun guy..
Awesome overview, cheers.
thanks
Thank you for this helpful introduction
Thank you for introduction.. easy to understand..
thanks its really helpful, now i understood angular2, plz upload more angular videos :)
import 'angular2/...' was moved to import '@angular/...' for everybody wondering
Hi Alex great point it is time I update this video as there have been lots of changes since April. When the final version drops soon I will update it.
i think if you put this in an annotation it is clear. it was just confusing for me when following the official documentation and youtube videos at the same time :)
it does not change much about the content of your video.
Added an annotation thanks for the suggestion.
Thank you very much.
If I am new to Angular, should I learn Angular 2 right away or should I learn Angular 1 first? I just want to mention that I do not need the particular experience or skills for the sake of a job. I would like to learn for my own sake and for my own convenience. I would like to build better web apps as well as mobile apps with Ionic. Can I safely learn Angular 2 without missing out on anything important?
Adrian Holmes sure ... you can start with angular2 ... its defferent
You didnt use @Injectable decorator in the service! Also the bootstrap is very fundamental.
You only need @Injectable if your service has injected dependencies. Although you are right the Angular team do say to add it as a best practice even if you do not need it as you may later.
Duncan Hunter
thanks for the clarification.
Thank you make all about angular
cool tutorial - thx =)
after using webcomponents, I don't see myself ever using a framework
Webcomponents are very cool. Do you use any libraries like polymer to help?
Foodzone I do quite enjoy using polymer
thnaks
Im sad to see that this amazing video is only 1 of 4
Hi
Thanks for the complement
I have been very busy with travel for conferences and Pluralsight and have a bunch of free NDC Videos not listed here if interested in more or on Pluralsight. I will be making more for youtube again soon.
Event binding and property binding is wrongly shown in figure at 4.07
Hi
You are right the arrows should point the other way :)
It has been almost two years now since this early into to Angular 2. Wow has the framework come a long way.
what i can do in angular which was not already invented in java,php.....? still it seems that angular is trying to reinventing the wheel.
Having worked on several Angular and also server side rendered apps with ASP.NET MVC in the last year. They both have their merits. I find the user experience better on a client-side app with Angular without the page refreshes. I also find that it is easier to make a complex UI with Angular versus the spaghetti code of a lot of custom JavaScript/JQuery. That said I do not mind ASP.NET MVC and traditional server-side rendered HTML as they are often faster to make and are less buggy with less state to manage on the client.
Hi Duncan, from where can I get the codebase that you used? thanks.
ist his still relevant to the 2017 angular 2?
I never learned Angular before. Should I have to start with Angular 1?
I would start learning Angular 2. Unless you have a job or a project in Angular 1 right now, because they are quite different.
Thanks.
I heard that controller and $scope is gone in Ng2, but how about routing? And do we still have filter, can we still define provider, value and factory on a module? And is the bootstrapping process and digest life-cycle the same?
Hi
Angular is now very different. Routing is also different but better. Filters are now called pipes and dependency injection is still a primary piece for managing dependencies but the syntax is different with TypesScript.
Digest cycle or change detection is also very different.
Hard to compare best to just move forward learning the new things and not get to lost trying to find similarities, then after some trying decide if you like it :)
Good point. Thank you, Duncan.
Thanks for the video. Vey helpful. Could you explain how you got VS Code to provide error checking and code completion?
+Tom Peterson This is the default if you use TypeScript with Angular 2. The code completion and error handling come from the definitely typed files which Angular2 ship with their npm package.
Thanks..
Everything looks super.. but type script is overwhelming as I working on java script from so much time, I love to see if you will create Angular 2 app with javascript.
Please post one video on that.
+Nitish Surelia Yeah I can understand that as I like JavaScript a lot too. I would recommend giving TypeScript a try it really is just JavaScript with types. You can do just JavaScript but I think if doing Angular2 I would suggest that you use TypeScript. If you do not like the types you can still have a .ts file type and write normal JavaScript :)
It seems very confusing to me. I have been trying to learn React and it seems easier to me. I am a total noob though so could you tell me the benefit of one to the other? Are they just different ways?
Why don't we put the code for getName() in the constructor itself at @14:19 , wouldn't that do the same thing without the need of an additional function. What am I missing here
Trevor D'souza it means you can reuse the service elswhere, atleast i think? Trying to work it out myself
Seperation of concerns
should one learn Angular or a backend programming language ?
Hi Duncan, You been very kind to guide me. Having started my journey and covered a few basics I have arrived at the following. I will cover the MEAN stack and also learn python as a standalone server side language. JS seems to be the future so I am going to get depth in that area and python is a breeze to learn which make me inclined to it. In the future if I need to branch to AI then it s good option too... I am love backend and logic side of things so I think this will excite me more.
MEAN stack is good as everything is JavaScript but eventually learning other languages is good. I found and do still find it hard to focus on a few things at a time versus learning so many things at once.
Hi Duncan, But isn't MEAN stack in itself covering the whole stack? You get exposed to Mongo DB, HTML, CSS and Javascript in one huge stack ?
but server side and client side logic will be JavaScript in the mean stack. You almost always have JavaScript on the frontend but the backend could be C#, Java or JavaScript etc it is less confusing at first if it is one less language
Oh I gottacha. You mean you find it easy to focus on one language at a time. I completely agree. My focus is Javascript. I am also learning python but more as a hobby. I find it to be the future but Javascript is ubiquitous presently and that makes it a must to know, in my view. I hate the syntax of JS though :) but have to learn it - for the mortgage :)
Hey Duncan am stuck I have a navigation menu in a parent component but when I press on a link to a child component.. The navigation menu appears in the top of the child. How will I hide the navigation from the child or make it not appear in the child component. Do you have any video tutorial for that in angular 4. Please help. Its urgent.
Hi
Hard to visualise your issue but I am guessing you need to put your menu outside the router outlet on your app module?
If you post a like to a github repo I am happy to look
Thanks I Like your tutorial and start Angular 2. But I want to connect Django with Angular 2. How can we do this?
Hi
Angular works best with a RESTful backend which from what I understand you can do with Django. I do not know Django but a very quick google led me to a popular forum discussing the topic stackoverflow.com/questions/34672987/django-with-angular-2. Hope this helps
the sound is too loud when you shift to the Interview...
Thanks for the feedback I will check for that next time.
Excuse me, are you Australian?
lol yes
dyslexia?
this is old, please take this down.