fix(ui-view): ui-view's scope memory leak.

updateView method create new scope when it do nothing.
Creating new scope should be moved after conditional branching.