title: $scope vs var in AngularJS
body: <p>I've been using var and $scope.varname and both work fine in AngularJS. I was wondering if there was a difference between the two functionally, and what best practice was in which one to use?</p>