fix(loader): throw exception when no template found at view url

When the loader loads a view it must retrieve an html template element
from the document. If none is found, it should throw an exception in
order to alert the developer to the problem.