Lines Matching full:scope
11 '$rootScope', '$scope', 'dataService', '$location',
12 function($rootScope, $scope, dataService, $location) {
13 $scope.dataService = dataService;
14 $scope.doSearchOnEnter = function(event) {
16 $scope.customSearch.replace(/^\s+/g, '').replace(/\s+$/g, '');
18 $scope.clearSearchItem();
19 $scope.addSearchItem(search);
22 $scope.clearSearchItem();
27 $scope.clear = function() {
28 $scope.customSearch = '';
29 $scope.clearSearchItem();
32 $scope.doSearchOnClick = function() {
34 $scope.customSearch.replace(/^\s+/g, '').replace(/\s+$/g, '');
36 $scope.clearSearchItem();
37 $scope.addSearchItem(search);
40 $scope.clearSearchItem();