fixed bug that caused nested ui-view to lose its context