Modify nemo-ui(add table scrollBar)
[nemo.git] / nemo-ui / src / main / resources / nemo / nemo.controller.js
1 /*
2  * Copyright (c) 2015 Huawei, Inc and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 define(['app/nemo/nemo.module','app/nemo/nemo.services'], function(topology) {
10   topology.register.controller('NemoController', ['$scope', '$rootScope', 'NemoService' ,  function ($scope, $rootScope, NemoService) {
11     $scope.updateChannels = function() {
12       NemoService.updateChannels();
13     };
14     $scope.updateChannels();
15   }]);
16
17 });