In Java code I can easily convert bytearray
into String
like this:
byte[] data = {91, 123};
String string = new String(data);
But it is giving problems in doing the same with AngularJS in a data binding:
{{new String(data)}}
The above code is inside a HTML file of AngularJS code and the data
is coming as a bytearray from an API call.