Random Quote Generator with Angularjs1

Hey there I was hoping someone can help me with this. I don’t know what’s wrong, but I am trying to make an api call with angularjs only, I don’t know why it is not working and have been working on this for quite a while to no luck. Basically my scope keeps going to request fail it’s not reading the success function but when I get out of angular and apply javascript globally it works fine. The javascript is the function that is omitted out at the very bottom. You can use it and see that it works fine, I want to learn it through angular specifically however, since that’s a framework I plan on learning now, if anyone can help it would be greatly appreciated. Thank you.