I've been reading alot about the route provider and how you can load different templates by specifying the url path.
Is there a way where instead of providing a path to template, we could programatically generate a view on the fly and attach it to the controller?