Restored view search

Change-Id: Ic994aa0adf22b81ea1a74d8a24db2219154aa698
diff --git a/src/index.ts b/src/index.ts
index 0322608..a4b2714 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -113,6 +113,7 @@
         .then(() => {
           // after setting up dynamic routes, redirect to previous state
           $location.path(lastRoute).search(lastQueryString);
+          $rootScope.$emit('xos.core.modelSetup');
         });
     }