diff --git a/platform/commonUI/browse/test/BrowseControllerSpec.js b/platform/commonUI/browse/test/BrowseControllerSpec.js index ce9296c239..dbd12013e7 100644 --- a/platform/commonUI/browse/test/BrowseControllerSpec.js +++ b/platform/commonUI/browse/test/BrowseControllerSpec.js @@ -54,6 +54,7 @@ define( "$scope", [ "$on", "$watch" ] ); + mockScope.ngModel = {}; mockRoute = { current: { params: {} } }; mockLocation = jasmine.createSpyObj( "$location", diff --git a/platform/commonUI/browse/test/BrowseObjectControllerSpec.js b/platform/commonUI/browse/test/BrowseObjectControllerSpec.js index 9fc7ba3119..1ae7c2528b 100644 --- a/platform/commonUI/browse/test/BrowseObjectControllerSpec.js +++ b/platform/commonUI/browse/test/BrowseObjectControllerSpec.js @@ -48,6 +48,7 @@ define( "$scope", [ "$on", "$watch" ] ); + mockScope.ngModel = {}; mockRoute = { current: { params: {} } }; mockLocation = jasmine.createSpyObj( "$location",