Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 43c735a

Browse files
thorn0rodyhaddad
authored andcommitted
docs($location): hashPrefix, html5Mode are methods
Closes #7915
1 parent ab2e83c commit 43c735a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ng/location.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ function $LocationProvider(){
551551
html5Mode = false;
552552

553553
/**
554-
* @ngdoc property
554+
* @ngdoc method
555555
* @name $locationProvider#hashPrefix
556556
* @description
557557
* @param {string=} prefix Prefix for hash part (containing path and search)
@@ -567,7 +567,7 @@ function $LocationProvider(){
567567
};
568568

569569
/**
570-
* @ngdoc property
570+
* @ngdoc method
571571
* @name $locationProvider#html5Mode
572572
* @description
573573
* @param {boolean=} mode Use HTML5 strategy if available.

0 commit comments

Comments
 (0)