fixed problem where ui-view was being incorrectly inserted into the DOM. apparent when using a view with a controller that opens a modal with a view inside it