$scope vs scope and dealing with minification issues