$scope acts like glue between controller and view. You can use ng-model to 
bind a property on scope. 

On Monday, June 23, 2014 7:14:18 AM UTC-4, UI M wrote:
>
> $scope is nothing but it acts as a *Global Variable or scope, *you can 
>> access it every where and also it returns you an object.
>>
> For example:
> *$scope.username, *now you can use this where ever you want in your 
> application. 
>

-- 
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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to