Skip to content

AngularJS alternative $route implementation that resolves routes via a server

License

Notifications You must be signed in to change notification settings

saymedia/angularjs-sdr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

angularjs-sdr

This is an alternative implementation of the AngularJS $route service that resolves routes via a server. It stands for "Server-Defined Routes".

When this module is loaded, any nagivation will cause a single request to the server with the request URL, and the server is expected to return a description of the matching route including the name of its controller, its template, and its 'locals' that will get injected into the controller.

One way to use this is to combine it with angularjs-server to execute route resolve steps on the server rather than the client and potentially reduce the number of round-trips necessary to render a page.

This module is experimental and has not yet been deployed in any production application. It has, however, been deployed in a prototype capacity and is believed to work correctly for most common $route use-cases.

About

AngularJS alternative $route implementation that resolves routes via a server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published