Skip to content

Commit d654bc5

Browse files
rvpatkarRoy Wallace
authored and
Roy Wallace
committed
fix for issue described at angular#11091 - $location.absUrl() returns undefined with base href and html5Mode
1 parent 2472a72 commit d654bc5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: src/ng/location.js

+5
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,11 @@ function LocationHashbangInHtml5Url(appBase, hashPrefix) {
317317

318318

319319
var locationPrototype = {
320+
/**
321+
* Ensure absolute URL is initialized.
322+
* @private
323+
*/
324+
$$absUrl: '',
320325

321326
/**
322327
* Are we in html5 mode?

0 commit comments

Comments
 (0)