Skip to content

Commit 85f8b65

Browse files
thorn0rodyhaddad
authored andcommitted
docs($location): hashPrefix, html5Mode are methods
Closes angular#7915
1 parent d9763f1 commit 85f8b65

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)