You know that by now your Angular code should be pretty $scope free. The controllerAs syntax makes it so you shouldn’t be accessing $scope in order to store information on it. But, scopes are still an important part of Angular and sometimes you have to use them.
Full article