Template inheritance for Angular directives.