Switching where ui-view lives. Adding state tracker. Refactoring interceptor.