Hello,
My name is Hubert Kunc, i am a webdeveloper from i can check what is wrong with your script. I have a lot of exeperince in angularjs and jquery (i am part of team which made betting website on angular), i also made backend for cloud computing services on symfony (brother of Symfony) and support websites on laravel.
Feel free to write now.
Best regards,
Hubert Kunc