Create Test Reporting landing page
[releng.git] / utils / test / reporting / pages / app / scripts / controllers / main.controller.js
1 'use strict';
2
3 /**
4  * @ngdoc function
5  * @name opnfvdashBoardAngularApp.controller:MainPageController
6  * @description
7  * # TableController
8  * Controller of the opnfvdashBoardAngularApp
9  */
10 angular.module('opnfvApp')
11     .controller('MainController', ['$scope', '$state', '$stateParams', function($scope, $state, $stateParams) {
12
13         init();
14
15         function init() {
16             $scope.goTest = goTest;
17             $scope.goLogin = goLogin;
18
19         }
20
21         function goTest() {
22             $state.go("select.selectTestCase");
23         }
24
25         function goLogin() {
26             $state.go("login");
27         }
28
29
30
31
32     }]);