ngUpgraders / ng-forward

The default solution for those that want to write Angular 2.x style code in Angular 1.x
410 stars 36 forks source link

AsyncRoute for ng-forward #153

Closed shripalsoni04 closed 8 years ago

shripalsoni04 commented 8 years ago

Is there a way in ng-forward to load the route components dynamically similar to AsyncRoute in angular 2.

And :+1: for developing awesome ng-forward library.

timkindberg commented 8 years ago

Thanks! As of right now there isn't and currently no plans to implement. It's just not something that is easily supported in Angular 1 without hacks. You can look at implementing it yourself with something like https://oclazyload.readme.io/ or https://christopherthielen.github.io/ui-router-extras/#/future. But the usage would be up to you and you'd probably be writing code that looks very Angular 1-ish.