We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
rewriteLinks
1 parent aa1c23a commit a4db4e6Copy full SHA for a4db4e6
src/ng/location.js
@@ -659,8 +659,8 @@ function $LocationProvider(){
659
* whether or not a <base> tag is required to be present. If `enabled` and `requireBase` are
660
* true, and a base tag is not present, an error will be thrown when `$location` is injected.
661
* See the {@link guide/$location $location guide for more information}
662
- * - **rewriteLinks** - `{boolean}` - (default: `false`) When html5Mode is enabled, disables
663
- * url rewriting for relative linksTurns off url rewriting for relative links.
+ * - **rewriteLinks** - `{boolean}` - (default: `true`) When html5Mode is enabled,
+ * enables/disables url rewriting for relative links.
664
*
665
* @returns {Object} html5Mode object if used as getter or itself (chaining) if used as setter
666
*/
0 commit comments