Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What should I know in JavaScript before learning AngularJS? [closed]

I recently tried to learn AngularJS. I thought it would be easy since I have a programming background. I was wrong. I actually never really programmed in JavaScript and it's puzzling when I try to understand Angular concepts like promises to call my web services.

The thing is I unfortunately don't have unlimited time, so it's difficult for me to learn the whole JavaScript language.

That's why I'd like to know what are the main things I absolutely need to understand (concepts, syntax, ...) to be comfortable with AngularJS.

like image 953
David D. Avatar asked Aug 03 '14 23:08

David D.


1 Answers

You definitely want to know JavaScript, and pretty well, to use Angular. Otherwise, you'll end up copying and pasting code and won't really get how it works. It will have you pulling your hair out. Angular seems to expect that you have a good grasp of JavaScript's functions and objects, as well as how variable scopes work.

If you're already programming, a good quick read is 'JavaScript: The Good Parts'. It's not a beginner book and it's a little old, but will bring you up to speed quickly if you already understand basic programming concepts.

like image 167
Mark Avatar answered Nov 09 '22 22:11

Mark