2 * Copyright (c) 2015 Huawei, Inc and others. All rights reserved.
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
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();
14 $scope.updateChannels();