3 angular.module('yardStickGui2App')
4 .controller('suiteDetailController', ['$scope', '$state', '$stateParams', 'mainFactory', 'Upload', 'toaster',
5 function($scope, $state, $stateParams, mainFactory, Upload, toaster) {
17 function getSuiteDetail() {
18 mainFactory.suiteDetail().get({
19 'suiteName': $stateParams.name
21 }).$promise.then(function(response) {
22 if (response.status == 1) {
23 $scope.suiteinfo = response.result.testsuite;
35 $scope.goBack = function goBack() {
36 window.history.back();