I use $scope.data.xxxx
etc in many places in my AngularJS application. Right now I am declaring $scope.data in each controller like this:
$scope.data = {}
Is there a better place for me to do this. For example could I better do this when setting up my app.js file in the .config or .run ?