example code of ang-news app of thinkster.io