Error Excute Cordova Sqlite

I declare my function in my controller to select database using cordova sqlite like this
image

after that, i declare again my load function. My plan is when i access some page with this controller, the pages always excute my function. But it’s not work…
image

Somebody can help me?