Skip to content

sarahkevinking/angular-ui-router-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular UI Router Helper

Motivation

Angular UI Router provides a great API to define routes and the view heirarchy of an angular project. However it can be clumsy to use when there are many states in a project or when you want to define reusable middlewares: validate credentials, redirecting a user, registering states with other providers (ie for a menu), or changing page layouts.

This helper solves these problems by providing an API to modify a state object prior to configuration. Developers can define state-view relationships, create reusable middlewares, and easily define state parameters.

Dependencies

angular
angular-ui-router
underscore

Installing

bower install angular-ui-router-helper

Example

Download the repo and open the example.html demo.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published