fix a little bug for uploader in src/ui/controller.js

This commit is contained in:
chyyuu 2015-09-15 09:55:27 +08:00
parent 6817d197f1
commit 0f70c33601
4 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View File

@ -4,3 +4,5 @@
node_modules/*
ASMSimulator.iml
*~
*.new
*.old

File diff suppressed because one or more lines are too long

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -1,4 +1,4 @@
app.controller('Ctrl', ['$document', '$scope', '$timeout', 'cpu', 'memory', 'assembler', function ($document, $scope, $timeout, cpu, memory, assembler) {
app.controller('Ctrl', ['$document', '$scope', '$timeout', 'cpu', 'memory', 'assembler', 'uploader', function ($document, $scope, $timeout, cpu, memory, assembler, uploader) {
$scope.memory = memory;
$scope.cpu = cpu;
$scope.error = '';