fix karma errors
Fix topic ctrl slug to title function