Error Excute Cordova Sqlite


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

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…

Somebody can help me?