Hi Ananya,

1. Don't learn this. Try to avoid using $scope at all!
2. Angular takes care of that, but see #1
3. As long as you have to ask, none.
4. Angular 1.x is 100% client side. 

Do yourself a favor, and read through the entire styleguide 
<https://github.com/johnpapa/angular-styleguide> at least twice. While you 
might not understand all of it yet, it will set you on the right track.
Also, instead of using controllers, start with components 
<https://docs.angularjs.org/guide/component>. 

As a background, $scope was needed when angular was build, but time proved 
it to be a "less handy" feature(to put it lightly!) It surely has its 
place, and you might even want to study it, but try to do that afterwards, 
and only to gain insight on how how the internals of angular work. Really 
try to avoid using it!

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to