I agree that using scope.$parent is smelly.