Skip to main content


Using the Angular 1.5 .component() Method

The .component() method provides a cleaner and simpler way to create parts of an app. It uses the best practices of directives as defaults, which leads to less boilerplate code and a more elegant solution. The result is components written in a style similar to other frameworks like Angular 2 and React.

You'll learn how to refactor a directive into a component, the differences between stateless and stateful components and how you can build a completely component based application in Angular 1.5+.

Project Members: Joseph Bona

Find the program that fits your life.

Learn about our coding, cybersecurity, and data analytics bootcamps offered on full-time and part-time schedules.