AngularJS Terminal Emulator