angular-router-loader
angular-router-loader copied to clipboard
Ability to specify sync option in loader options
trafficstars
The loader works well for my team, but we find that need to have the ability to disable lazy loading from the config file. I.e. to be able to set the sync=true flag from the loader options. The functionality would be great from a configuration perspective where different environments might require different build options. The flag would in this case set all lazy loaded routes to synchronous. Keep up the great work!
Kind regards Swiftwork
Sounds good to me. Would you like to put in a PR for this?