I am new to angularjs , so this question might seems silly to experience ones , But i really not able to perform this , can any body tell me that how to come back to app from webview after reaching to specific url , Like i am opening a window in browser for payment process so what i need is that when url in webview comes up with a success msg , i want to close the webview and get back to my application , I goggled and found a way that in $window.open() we pass three parameters and through second i can do that , but don't know how to implement that , can any one provide me a way to deal that.
i studied thi link :- Tracking a child window across page loads
i tried this function too :-
if (!$window.closed){
if($window.location.href =="http://www.magentomobileshop.com/demo/index.php/payu/index/success")
{
$window.close()
}
}
Thanks