Avoid using $scope in controllers | CAST Appmarq