Angular2 – Component

Where can I find the sample code for this article?Please checkout the code at in “feature/angular2-component” branch.What is component in Angular2?In general view, For easier to understand that a component is a page we want to display.Do I need to registe This will tell Angular when user navigate to “/users”, the Users component will be displayed and the list of users were rendered to browser as below: Ok, In the code, We just register a ts class . How can Angular know which UI should be rendered? it is up to you.