mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Finish refactoring of App
This commit is contained in:
parent
409c65cbb7
commit
f86adb4c94
3 changed files with 3491 additions and 3449 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -12,11 +12,13 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
'use strict';
|
||||
(function() {
|
||||
|
||||
angular
|
||||
.module('zeppelinWebApp')
|
||||
.controller('SearchResultCtrl', function($scope, $routeParams, searchService) {
|
||||
angular.module('zeppelinWebApp').controller('SearchResultCtrl', SearchResultCtrl);
|
||||
|
||||
SearchResultCtrl.$inject = ['$scope', '$routeParams', 'searchService'];
|
||||
|
||||
function SearchResultCtrl($scope, $routeParams, searchService) {
|
||||
$scope.isResult = true ;
|
||||
$scope.searchTerm = $routeParams.searchTerm;
|
||||
var results = searchService.search({'q': $routeParams.searchTerm}).query();
|
||||
|
|
@ -152,4 +154,6 @@ angular
|
|||
|
||||
};
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
})();
|
||||
|
|
|
|||
Loading…
Reference in a new issue