Two general templates for angular implementations