wire up angular templates