0

I'm trying to decode a string and insert it into a new string, but it just won't work. I tried unescape and decodeURIComponent.

What am I doing wrong? Here is a plunker.

This is the code:

var str = "2015         :           alle";
alert(unescape(str));

I prefer to do it in AngularJS.

RiesvGeffen
  • 1,429
  • 2
  • 10
  • 26

0 Answers0