How can I remove anything inside angle brackets in a string **without** using regex? 

For example is I have the following input: 

```
var str = "This <is> some <random> text";  

```

and would like to obtain the following output:  

*This some text*