0
Guys I have a template here that uses the Angularjs and his 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 product URL but I don’t know how I do it at the angle... anyone has any idea how I do it?
And in this example your ai the ID number goes where?
– Alfredo Lima
@Alfredolima where it says $Cope.idProduct, just replace it with your product id reference
– celsomtrindade
Thank you very much...
– Alfredo Lima