See this: http://jsfiddle.net/qm2wqg8u/5/ If replace set to true, and a multi root template could cause the param can't pass into component. In this case, the comment block cause the problem.