I need to know the difference between functions and variables defined without using $scope (e.g. $scope.myfunction = function(){}).
I need to know if I define a variable or a function inside a controller without making it a property of the $scope, what will be the scope of these variables/methods? will it get the $windows scope?
If I want to define some functions inside my controller to organize my code, is it ok to define these functions without a $scope method?
what is the best practice?