Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

Given the following code:

http://jsbin.com/EkIqAju/2/edit

How can I access the current object being evaluated in the showQuestion() function in the controller?

I need this to be able to validate which question to show based on the answer given in other questions. So I need to access the current evaluated object, check the constraints and then check the value of parent objects to evaluate if the question should be shown or not.

share|improve this question
    
I was put off because of the size & complexity of your code. If you could take away some of the complexity (just for the purposes of solving this problem) you might find more people would take a look. Just a thought. –  John Jan 7 at 12:12
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.