Use $routeParams directly in your view. No need to copy them to $scope. Use simple expressions on them such as <a href="#/product/[[productId + 1]]>Next product</a>
Use $routeParams directly in your view. No need to copy them to $scope. Use simple expressions on them such as <a href="#/product/[[productId + 1]]>Next product</a>