diff --git a/src/ng/location.js b/src/ng/location.js index 522154514ca1..82a9843ad68d 100644 --- a/src/ng/location.js +++ b/src/ng/location.js @@ -551,7 +551,7 @@ function $LocationProvider(){ html5Mode = false; /** - * @ngdoc property + * @ngdoc method * @name $locationProvider#hashPrefix * @description * @param {string=} prefix Prefix for hash part (containing path and search) @@ -567,7 +567,7 @@ function $LocationProvider(){ }; /** - * @ngdoc property + * @ngdoc method * @name $locationProvider#html5Mode * @description * @param {boolean=} mode Use HTML5 strategy if available.