a short quiz using rails 3 and angular js