Don't bail from setView if the template is undefined
Merge pull request #14 from timehat/patch-2

Don't bail from setView if the template is undefined