Run showAlert with function


#1

Hi,

I am trying run showAlert with $scope.showAlert(); in function onDeviceReady(), but isn’t working,
In the ng-click action works, only in function isn’t working.

Can anyone help me?

Thanks