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 ?
Asked
Active
Viewed 113 times
0

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