Hi Everyone! Welcome to the next post in our series on building a Hacker News Clone in AngularJS! In this post, we’re going to focus on using nested components to display threaded comments on individual posts. In the last few posts, we’ve covered a bunch of topics.
In Part 1, we covered creating an Angular service to connect to the Hacker News API.
In Part 2, we covered creating a custom Angular directive to display individual stories.
In Part 3, we covered AngularJS pagination with a library developed by Michael Bromley
In Part 4, we covered creating a custom Angular component to display individual comments, using Angular Filters to help out.
In Part 5 of our series, we’re going to complete our custom Angular component that will display a comment. Specifically, we’re going to focus on expanding its functionality by allowing it to display nested comments (threaded comments). This will be a good example of how to implement nested components in AngularJS.