Haskellize Problem Generator using Firebase and Angular