It does not work.....?

 $scope.close = function () {


Maybe you could explain a bit more? Where have tried this? If I recall, iOS does not support this feature, so if you tested there, that would explain it.

1 Like

i am test in android mobile

i am testing this ionic code but his not show any answer when the testing on android mobile

it will work on android … please use the chrome debugger (chrome://devices) to check what is happening on android side and please make sure if you are using any plugin with it please write in ionic.platform.ready function.