O'Reilly logo
  • hao wang thinks this is interesting:

good practice, we avoid referring to the this keyword inside the controller, preferring to use a proxy self variable, which points to this

From

Cover of AngularJS: Up and Running

Note

在控制器里可以使用 self 来代替 this 。