add stop propagation directive ngcStopPropagation and updated the TemplateCompile service