I have a template here that uses angularJS and its route system is as follows
.state('app.produto', {
url: '/produto',
templateUrl: 'tpl/detProdutos.php',
// use resolve to load other dependences
resolve: {
deps: ['uiLoad',
function( uiLoad ){
return uiLoad.load( ['js/app/produto-calc.js',
JQ_CONFIG.moment] );
}]
}
})
and in html it looks like this:
<a ui-sref="app.produto" class="pull-left thumb-md avatar b-3x m-r">
And I needed to go through the URL of the product ID but I do not know how I can do it in the angle ... does anyone have any idea how I can do this?