prototype for angular application