100% coverage of MasterController.js without abusing $scope