A lot of web developers that come to Angular from other MVC frameworks are surprised to learn that there’s no official support for lazy loading. While some frameworks support this out of the box, with solutions like RequireJS, Angular doesn’t play that easy. Intorducing ocLazyLoad, a popular open source project for adding lazy loading capabilities to Angular.
Angular 1.5 is soon to release the component() method. The author of this article, Todd Motto decided to back-port the functionality from this new feature so anyone running Angular 1.3 and above can start using component() right now.