Please Like and Share

I have 4+ experience and working as software Engineer with Hytech professionals India PVT ltd and also working as Consultant,Trainer,Blogger and Author on Microsoft technologies,Also I have Trained more than 500+ IT professionals.I have knowledge about Asp.net,C#,SQL,Project management,replication,MVC,WebApi,SSRS,PostMan,TFS,SVN,Swagger,WMI,Agile,SignalR,Angularjs,IIS configuration.

$scope is an article information stockpiling extension, or we can comprehend it as an information distribution center which different items as Controller, Service will utilize and trade of data through it. you can make any sort of variables at once and utilize anyplace inside controller.$scope and $rootscope is spine of AngulerJs.Basic Example of controller in AngularJs:-Step 1:-Create simple HTML page.Step 2:-Include AngularJs library to support Angularjs in your application inside head tag with script tag.

Description:-First of all i've created a $scope variable name is"firstName " and set value="Bikesh" and now we are using single controller name is "simpleController" so I able to use "Bikesh" on my HTML Part with ng-model or expression {{firstName}}. But you need to inject $scope in controller.

You have just read an article that categorized by title AngularJs
by title What is $scope in controller ?. You can bookmark this page with a URL https://bikeshsrivastava.blogspot.com/2016/01/what-is-sope-in-controller.html. Thank You!