If I wanted to get a specific value from the URL within Angular I'm looking at how to parse this data.
Example:
http://localhost:1337/doc-home/#/tips/5?paginatePage=1
I want to get the "5"
HTML:
<a href="#/tips/comments/{{ tip.id }}?groupid={{ ????? }}" class="btn-yellow">Add / View Comments</a>
module.js
.when('/tips/comments/:group?id', {
templateUrl: 'partials/comments.html'
controller.js
.controller('TipCommentsCtrl',
function ($http, $scope, $routeParams, Categories, Tip, $location, error, $sce) {
UPDATE
I am getting CLOSER thanks to the answers from you all.
I posted another question which should help to explain what my problem is