(fix) set jshint latedef to nofunc

This allows users to define functions last in controllers and simply
set properties of the viewmodel to these functions.