chore: support angular 1.2.0 - change from compile to template function