$location.path or $location.url doesn't trigger the ngRoute controller

I have a route defines as follows:

$routeProvider.
        when('/projects/', {
            controller: 'ProjectCtrl',
            controllerAs: 'project_ctrl',
            templateUrl: '/static/app/partials/project.html'
        }).

After the login finishes I need the user to land on this link, hence in my controller I am using this:

vm.login = function(form) {
            if (form.$valid) {
                loginService.login(vm.loginFormData.username, vm.loginFormData.password);
                loginService.setUpUser()
                $location.url("/projects");
            }
        }

But unfortunately the controller associated with this view is not triggered, that is ProjectCtrl is not triggered. However when I click on the navigation link which uses in the dom, it works fine. Can someone please guide me here, may I am missing something conceptual.

Hence the larger question is how do I redirect a user in the controller using some APIs which also complies with ngRoute based controllers.


ANSWERS:


Try removing the last / in url so it matches $location.url("/projects");

$routeProvider.
        when('/projects', {


 MORE:


 ? angular ngRoute Js TypeError: Cannot read property 'ID_of_element' of undefined
 ? ngRoute not working with external controller files
 ? ngRoute not working with external controller files
 ? ngRoute not working with external controller files
 ? Angular js ngroute is not working for a static HTML files
 ? AngularJS Controller is not working with ngRoute in IntelliJ (Web server issue?)
 ? AngularJS Controller is not working with ngRoute in IntelliJ (Web server issue?)
 ? AngularJS Controller is not working with ngRoute in IntelliJ (Web server issue?)
 ? AngularJS: ngRoute, otherwise not working
 ? AngularJS: ngRoute Not Working