After landing and while taxiing to the gate, the right-hand engine caught fire on an American Airlines jet prompting an emergency evacuation via slides.