blob: 2054dc2dd098d58f7430a74ec1b1faf9b5f21d6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
'use strict';
/**
* @ngdoc function
* @name opnfvdashBoardAngularApp.controller:MainPageController
* @description
* # TableController
* Controller of the opnfvdashBoardAngularApp
*/
angular.module('opnfvApp')
.controller('MainController', ['$scope', '$state', '$stateParams', function($scope, $state, $stateParams) {
init();
function init() {
$scope.goTest = goTest;
$scope.goLogin = goLogin;
}
function goTest() {
$state.go("select.selectTestCase");
}
function goLogin() {
$state.go("login");
}
}]);
|