Rendering could be made more performant by doing expression parsing and interpolation just once, rather than at each diff.
A compile/link distinction analogous with regular directives would probably work well for this. It would also give custom directives a place to do one-time setup.