This is my introduction to using AngularJS.
The code snippet below displays the desired output:
<a href="http://www.example.com/xyz/{{life.animal}}/" target="_blank">Hello </a>
Upon clicking, it redirects to: http://www.example.com/xyz/cat/
However, the following code does not behave as expected:
<a href='javascript:void(0)' onClick='javascript:window.open("http://www.example.com/xyz/{{life.animal}}/","Windows","width=1150,height=450,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,titlebar=no,location=no,directories=no,status=no");return false')'>Hello </a>
It directs to: http://www.example.com/xyz/{{life.animal}}/
I believe I might be making a fundamental error, so any assistance is greatly appreciated.