better angular code conventions