set all scopes to $scope, clarify comments