fix Interface code displayed instead of controllers'

Controller's name is a usually a substring of interface's name hence the
old check was error-prone.

This closes ariatemplates/usermanual#33