Inject angular templates in js.