Angular JS - Code not working as expected | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Angular JS - Code not working as expected

I do not see any output produced. Can someone explain why? https://code.sololearn.com/Wj7TghdzWDYr/?ref=app

21st Sep 2018, 12:39 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
2 Answers
+ 3
You can't call the binomial( ) function before declaring it in the scope of AngularJS i.e., $scope! https://code.sololearn.com/WL7Yr8EM9T8E/#html
21st Sep 2018, 7:08 PM
777
777 - avatar
+ 2
Thanks Rahul
22nd Sep 2018, 1:29 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar