First client side prototypes with angularjs