Skip to content

This is a test project to try and get angular server routing working

Notifications You must be signed in to change notification settings

mbujs/angular-server-routing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Angular Server Routing

This repo will contain my notes on using the new Angular router to render on the server as well as some sample code as I start getting something prototyped.

References

Notes

  • If we use the Angular router, we would not do anything with the server framework routing.
    • Essentially, for the server routing would be * to one handler which would be our Angular rendering engine
    • The Angular router works within the view rendering step just like a directive
  • We can use LifeCycle hooks for data retrieval (i.e. async operations)
  • How would we share components across projects? Need to play with $componentLoaderProvider
  • Treat routing just like any other directive
  • Are there any downsides to figuring out routes at runtime?
    • Can't dynamically generate Google Sitemap (well, not as easily)
    • ??

About

This is a test project to try and get angular server routing working

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published