diff options
| author | Pete Bacon Darwin | 2013-10-03 23:05:56 +0100 |
|---|---|---|
| committer | Pete Bacon Darwin | 2013-10-03 23:05:56 +0100 |
| commit | 2e5680a4e3178803c02ac56e1f0388766b32466c (patch) | |
| tree | 069850bd5d01cefdfd8f60a33a91ce039669c425 /src/ng/rootScope.js | |
| parent | a005797afa9bdb290d90ee0d3dd394c6551c3321 (diff) | |
| download | angular.js-2e5680a4e3178803c02ac56e1f0388766b32466c.tar.bz2 | |
docs(guide/$location): fix broken example demo
The demo of the hash-bang vs html5-mode deep links was broken since the introduction
of a check for previously bootstrapped elements. See this commit: 3ee744cc63
We fix this problem by applying a null for the injector value of the element of the
at the root of the sub-app.
It also turns out that it was not necessary, and if fact broke the demo, to replace
the $document service for the sub-app. This was because the $compile service calls
`$document.createElement()`, which doesn't exist on a `div`.
Finally, the bootstrap CSS was limiting the width of the ngAddress bar input box,
which made it difficult to see the changing URLs.
Diffstat (limited to 'src/ng/rootScope.js')
0 files changed, 0 insertions, 0 deletions
