1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 06:49:40 +02:00

switch to angular-ui-router (#11)

This commit is contained in:
Anthony Lapenna 2016-06-14 14:13:52 +12:00 committed by GitHub
parent 4e1a7077d7
commit a12c1916ec
14 changed files with 42 additions and 45 deletions

View file

@ -1,5 +1,5 @@
angular.module('network', []).config(['$routeProvider', function ($routeProvider) {
}]).controller('NetworkController', ['$scope', 'Network', 'ViewSpinner', 'Messages', '$state', '$stateParams', 'errorMsgFilter',
angular.module('network', [])
.controller('NetworkController', ['$scope', 'Network', 'ViewSpinner', 'Messages', '$state', '$stateParams', 'errorMsgFilter',
function ($scope, Network, ViewSpinner, Messages, $state, $stateParams, errorMsgFilter) {
$scope.disconnect = function disconnect(networkId, containerId) {