0

Should I use controllerAs syntax defining $scope or use vm in angular js controller? I saw people using controllerAs syntax and $scope. What is the difference between them ?

Łukasz
  • 2,131
  • 1
  • 13
  • 28

1 Answers1

0

You can see related Here

they both define variables in $scope

Community
  • 1
  • 1
abdoutelb
  • 1,015
  • 1
  • 15
  • 33