Prototype in Angular