adding angular code to get articles