updating links for pagination to contain preceding '/' to avoid redirect by routeProvider