(feat) controller as uses vm var instead of this

When using Controller As, create a variable named vm that equals
this. Makes it easier to access the controller in nested functions.