A scintillator based detector for fast-ion losses has been designed and installed on the ASDEX upgrade (AUG) tokamak [A. Herrmann and O. Gruber, Fusion Sci. Technol. 44, 569 (2003)]. The detector resolves in time the energy and pitch angle of fast-ion losses induced by magnetohydrodynamics (MHD) fluctuations. The use of a novel scintillator material with a very short decay time and high quantum efficiency allows to identify the MHD fluctuations responsible for the ion losses through Fourier analysis. A Faraday cup (secondary scintillator plate) has been embedded behind the scintillator plate for an absolute calibration of the detector. The detector is mounted on a manipulator to vary its radial position with respect to the plasma. A thermocouple on the inner side of the graphite protection enables the safety search for the most adequate radial position. To align the scintillator light pattern with the light detectors a system composed by a lens and a vacuum-compatible halogen lamp has been allocated within the detector head. In this paper, the design of the scintillator probe, as well as the new technique used to analyze the data through spectrograms will be described. A last section is devoted to discuss the diagnosis prospects of this method for ITER [M. Shimada et al., Nucl. Fusion 47, S1 (2007)].