if you had troubles with this issue, you can try to write the code in myApp.js as the image showed, I used this way to pass the test. Good luck~~~