Starting modal for module info.

This commit is contained in:
Ben Vanik 2013-12-24 14:09:19 -08:00
parent e8d45d80e7
commit 8a8ee5dadc
8 changed files with 146 additions and 4 deletions

View file

@ -10,13 +10,14 @@
'use strict';
var module = angular.module('xe.ui.code', [
'ui.bootstrap',
'xe.log',
'xe.session'
]);
module.controller('CodeTabController', function(
$rootScope, $scope, app, log) {
$rootScope, $scope, $modal, app, log) {
$scope.moduleList = [];
$scope.selectedModule = null;
$scope.functionList = [];
@ -61,6 +62,22 @@ module.controller('CodeTabController', function(
});
};
$scope.showModuleInfo = function(module) {
var modalInstance = $modal.open({
templateUrl: 'assets/ui/code/module-info.html',
controller: 'ModuleInfoController',
windowClass: 'debugger-module-info'
// resolve: {
// items: function () {
// return $scope.items;
// }
// }
});
modalInstance.result.then(function() {
}, function () {
});
};
$scope.showLocation = function() {
//
};