Image for post
Image for post

Introduction

One of the common problems most developers encounter with when writing Single Page Application is creating and loading lazyLoad modules in response to a certain action taken by a user or clicking on URL (in most cases) that would load a set of dependencies such as JavaScript, CSS, HTML etc. In the realities of modern Front-End development that would be a huge JavaScript file. Well, in this article I would like to share my experience and show you how to realize lazyLoad modules on AngularJS and decrease the start time when you first run an application.

Why AngularJS 1.x

You may wonder “Why work with AngularJS 1.x if Angular v5.2 is available?” The question is more than appropriate. However, do not forget that many projects still use AngularJS 1.x and feel pretty good. For them, as well as for many other branches, switching to a new version would be expensive both in man-hours and money-wise. AngularJS 1.x remains in high demand in the market. …

About

Vitalii Rybka

Angular | React | JavaScript | Front End Developer | Speaker | var-bin.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store