getting questions and angular logic