Fix ngLocale generation