Angularjs $location.path() example