things are broken, but Ive been moving stuff out of $scope onto the controller object (as suggested for future proofing angular)