In the end I've managed the situation by parsing a parameter in the url something like
http://apps.facebook.com/MyTestApp/index.php?p=goto#item/48
so, by one hand, as soon as I land on the index.php, via php I check for the $_GET['vairable'] and use that as a trigger to get the hash string to feed a javascript variable that is directly executed, before the angluar is included. So as soon as the mainController (the angular controller associated with the index) is executed the variable with the path is already instantiated.
At this point angular detects that there is a variable that forces the path to go somewhere and it will get the routing there.
here's some code
the index.php in the tag, right after the jquery lib inclusion and right before
the angular includes
<script language="javascript" type="text/javascript">
var redirect_to = null;
$(function() {
<?php
// redirecting rulez
if(isset($_GET['p'])) {
?>
redirect_to = window.parent.location.hash.substring(1);
<?php
}
?>
});
</script>
the mainControl.js that is the one that get hit al the times that you load the index.php
if(redirect_to != null)
$location.path(redirect_to);
in the other controllers
if(redirect_to != null)
window.parent.location.hash = "#" + $location.path();
repeat for all the other controllers. enjoy