OSDN Git Service

modified work space
[eos/zephyr.git] / front-end / app / scripts / controllers / Preview.ts
1 namespace app.controllers {
2     export class Preview{ 
3
4         public static $inject = ['$scope', 'APIEndPoint','$uibModalInstance'];
5         private tags: string[];
6         private commands: string[];
7         private searchText: string;
8         private currentTag: string;
9
10         constructor($scope: ng.IScope, private APIEndPoint: services.APIEndPoint, private $modalInstance: ng.ui.bootstrap.IModalServiceInstance) {
11             var controller = this;
12             console.log('preview');
13             /*
14             this.APIEndPoint
15                 .getCommands()
16                 .$promise.then((result) => {
17                    controller.commands = result.info; 
18                 });
19             this.currentTag = 'all';
20             */
21
22         } 
23
24     }
25 }