Finish refactoring of App

This commit is contained in:
Damien CORNEAU 2016-09-28 16:18:37 +09:00
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

View file

@ -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
};
};
});
}
})();