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,091
  • 1
  • 11
  • 26

1 Answers1

0

You can see related Here

they both define variables in $scope

Community
  • 1
  • 1
abdoutelb
  • 985
  • 1
  • 13
  • 33