Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/market_provider_manager/index.min.js
define(["angular","cjt/core","cjt/modules","uiBootstrap","ngRoute","ngAnimate"],(function(angular,CJT){"use strict";CJT.config.html5Mode=false;return function(){angular.module("App",["cjt2.config.whm.configProvider","ui.bootstrap","angular-growl","cjt2.whm","ngAnimate"]);var app=require(["cjt/bootstrap","uiBootstrap","app/services/manageService","app/services/editProductsService","app/services/editCPStoreService","app/views/manageController","app/views/editProductsController","app/views/editCPStoreController"],(function(BOOTSTRAP){var app=angular.module("App");app.value("PAGE",PAGE);app.controller("BaseController",["$rootScope","$scope","$route","$location",function($rootScope,$scope,$route,$location){$scope.loading=false;$rootScope.$on("$routeChangeStart",(function(){$scope.loading=true}));$rootScope.$on("$routeChangeSuccess",(function(){$scope.loading=false}));$rootScope.$on("$routeChangeError",(function(){$scope.loading=false}));$scope.current_route_matches=function(key){return $location.path().match(key)};$scope.onSelectTab=function(tabIndex){$scope.activeTabIndex=tabIndex};$scope.go=function(path,tabIndex){$location.path(path);$scope.active_path=path;$scope.onSelectTab(tabIndex)};$scope.activeTabIndex=0}]);app.config(["$routeProvider",function($routeProvider){$routeProvider.when("/",{controller:"manageController",templateUrl:CJT.buildFullPath("market_provider_manager/views/manageView.ptt")});$routeProvider.when("/edit_products/",{controller:"editProductsController",templateUrl:CJT.buildFullPath("market_provider_manager/views/editProducts.ptt")});$routeProvider.when("/edit_cpstore_config/",{controller:"editCPStoreController",templateUrl:CJT.buildFullPath("market_provider_manager/views/editCPStore.ptt")});$routeProvider.otherwise({redirectTo:"/"})}]);BOOTSTRAP()}));return app}}));
Back to Directory