Flash cards with angularJs