inject templating service in controller for some special rendering cases
Merge pull request #4 from mpalourdio/templating

inject templating service in controller for some special rendering cases