angular.js/src/service
Vojta Jina 988ed451b5 feat($browser): jQuery style url method, onUrlChange event
This is just basic implementation of $browser.url, $browser.onUrlChange methods:

$browser.url() - returns current location.href

$browser.url('/new') - set url to /new
If supported, history.pushState is used, location.href property otherwise.

$browser.url('/new', true) - replace current url with /new
If supported, history.replaceState is used, location.replace otherwise.

$browser.onUrlChange is only fired when url is changed from the browser:
- user types into address bar
- user clicks on back/forward button
- user clicks on link

It's not fired when url is changed using $browser.url()

Breaks Removed $browser.setUrl(), $browser.getUrl(), use $browser.url()
Breaks Removed $browser.onHashChange(), use $browser.onUrlChange()
2011-09-08 20:36:33 +02:00
..
cookies.js refactor(scope): remove $flush/$observe ng:eval/ng:eval-order 2011-08-12 15:47:47 -07:00
cookieStore.js feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
defer.js refactor(scope): remove $flush/$observe ng:eval/ng:eval-order 2011-08-12 15:47:47 -07:00
document.js feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
exceptionHandler.js feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
hover.js feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
invalidWidgets.js feat(scope): new and improved scope implementation 2011-08-02 01:00:03 +02:00
locale.js feat(locale): add getPluralCat function 2011-08-30 02:11:08 -07:00
location.js feat($browser): jQuery style url method, onUrlChange event 2011-09-08 20:36:33 +02:00
log.js feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
resource.js doc(sample): Add javascript sandbox integration (jsFiddle) 2011-08-16 15:15:06 -07:00
route.js style(docs): improve the formatting of events in docs 2011-08-31 14:34:56 -07:00
routeParams.js feat($route): add events before/after route change 2011-08-31 14:31:23 -07:00
window.js feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
xhr.bulk.js bug($xhr.bulk): fix exceptions under some circumstances 2011-08-31 14:29:37 -07:00
xhr.cache.js style(*): wrap all assignments in if statements 2011-08-15 00:20:48 -07:00
xhr.error.js fix($xhr.error): fix docs and add missed breaking change 2011-08-02 19:01:36 +02:00
xhr.js test(jsonp): fixing jsonp e2e tests 2011-09-02 16:17:05 -07:00