Rewrite to controller as, keep global state on global state object and fix issue with url not triggering watch
zap console
Merge pull request #262 from nens/state_bfs

Rewrite to controller as, keep global state on global state object and f...