Test flashcard application using Angular.js and Rails