Using angular-truncate plugin to truncate query names.