Edit template for angular ui router