Tag Archives: Controller

Exploring Angular’s “Controller as” Syntax and the vm Variable


Read full article on the Infragistics blog Often, I hear developers ask “What is the ‘controller as’ syntax and how it is different from the $scope object approach of controller creation?” In this post we will learn about controller as syntax and compare it with the $scope object approach of controller creation. In AngularJS 1.2, […]

http://debugmode.net/2015/07/03/exploring-angulars-controller-as-syntax-and-the-vm-variable/

Exploring Angular’s “Controller as” Syntax and the vm Variable


Read full article on the Infragistics blog Often, I hear developers ask “What is the ‘controller as’ syntax and how it is different from the $scope object approach of controller creation?” In this post we will learn about controller as syntax and compare it with the $scope object approach of controller creation. In AngularJS 1.2, […]

http://debugmode.net/2015/07/03/exploring-angulars-controller-as-syntax-and-the-vm-variable/

How to share data between controllers in AngularJS


How to share data between controllers in AngularJS

In my AngularJS classes, I often get asked, “How do I share data between the controllers in AngularJS?” On the Internet, there are many solutions suggested. However, I prefer to share data using the Shared Data Service method, and that’s what we’re going to explore in this post. To start with, let’s suppose that […]

21 points cheat sheet on AngularJS controller and the $scope object


This blog post is a 21 points cheat sheet on the AngularJS controller and the $scope object. These points can be used a quick notes while working with two important components of Angular app controller and the $scope object Notes on $scope object $scope is a glue between the view and the controller. It connects […]