rackerlabs/encore-ui — pull request #233 by klamping (2014-05-07 22:57:37+00:00)
Title: feat(rxApp): expose appRoutes via rootScope

This allows applications to customize the menu for their app.

BREAKING CHANGE: The 'menu' property has been changed to 'app-routes' to be more descriptive

Before click:
![image](https://cloud.githubusercontent.com/assets/706039/2909989/e2f8a704-d63a-11e3-9a2d-89d6e6eb3b80.png)

After click:
![image](https://cloud.githubusercontent.com/assets/706039/2909991/eaa3e504-d63a-11e3-8810-9a744f5a075f.png)

Code in controller to do that:
```
var newRoute = {
linkText: 'Updated Route',
childVisibility: 'true',
children: [
{
linkText: 'New child route'
}
]
};

$rootScope.appRoutes.setRouteByKey('acctLvlTools', newRoute);
```