dotJEM / angular-routing

Enhanced state based routing for Angular applications!
https://dotjem.github.io/angular-routing/
MIT License
75 stars 9 forks source link

Refactoring of `$view` to always take args objects. #84

Closed jeme closed 10 years ago

jeme commented 10 years ago

As a continuation on #83 we would like to include more detail for pending updates, but it would be easier to do so if we re factored the view service and state service.

This would also make it more transparent when configuring views on a state if we just pass that object on to the view service "as is" more or less... It requires some minor augmentations to support the case. Like Locals and Sticky.

It probably means we will wrap the calculated values of those in $sticky and $locals... Unless we can somehow push more of that into the view service...