This bundle provides a basic framework for dynamically creating ui-router states from configuration in a symfony bundle. The main drive behind this is to allow for selective activation of parts of an AngularJS frontend based on a users roles within a symfony context.
1. Define your states under the
devtrw_state_bridge.states configuration key.
See the configuration section below.
2. Export the
devtrw_state_bridge_get_state routes to your angular
3. Create an abstract state in angular that loads in the needed states
You can get a general idea of how to do this by skimming over this blog post by Alex Feinberg.
[ ] Wrap/Extend the FOSJsRoutingBundle to provide a more seamless integration with angular [ ] Finish initial documentation