Write SQL query to solve given problem: What is the average teaching ability of the most popular professors?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT CAST(SUM(teachingability) AS REAL) / COUNT(prof_id) FROM prof WHERE popularity = ( SELECT MAX(popularity) FROM prof )