Angular’s .component - what is it good for?

The new 1.5 release introduces a new method, .component() that should, in most cases, replace your use of .directive()