I have a web made with angularjs and in the urls the characters # are added, at first it bothered me, and then I finished it leaving, I know it can be taken with:
angular.module('app', [])
.config(function($locationProvider) {
// Habilitar modo html5
$locationProvider.html5Mode(true);
});
Now, what I need is to share links in this style on facebook: link and I do it this way
<a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=http://www.misitio.com/productos/web/#!/{{Producto.IdProducto}};src=sdkpreparse" class="fb-xfbml-parse-ignore">
<img width="90" src="img/compartir01.png" />
</a>
The bot abe abe facebook but when squeeze cmpartir does not share what is after web /, bone shares only link And not the id that is what I need to take it with angular and go find that product to the database and show it. How can I make facebook to share urls with an ID? Thank you very much