AngularJS service for LZW compression / decompression