How can we resolve a template URL relative to a Component class?
Through specifying the moduleId to be module.id in the Component decorator. (Note: while this is still required if we are using SystemJS, it is not essential anymore when utilizing Webpack module bundler for Angular 2 applications).