angular.js/test/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
..
cookiesSpec.js refactor(scope): remove $flush/$observe ng:eval/ng:eval-order 2011-08-12 15:47:47 -07:00
cookieStoreSpec.js refactor(scope): remove $flush/$observe ng:eval/ng:eval-order 2011-08-12 15:47:47 -07:00
deferSpec.js feat(scope): new and improved scope implementation 2011-08-02 01:00:03 +02:00
documentSpec.js feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
exceptionHandlerSpec.js feat(scope): new and improved scope implementation 2011-08-02 01:00:03 +02:00
hoverSpec.js feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
invalidWidgetsSpec.js feat(scope): new and improved scope implementation 2011-08-02 01:00:03 +02:00
localeSpec.js feat(locale): add getPluralCat function 2011-08-30 02:11:08 -07:00
locationSpec.js feat($browser): jQuery style url method, onUrlChange event 2011-09-08 20:36:33 +02:00
logSpec.js feat(scope): new and improved scope implementation 2011-08-02 01:00:03 +02:00
resourceSpec.js feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
routeParamsSpec.js feat($route): add events before/after route change 2011-08-31 14:31:23 -07:00
routeSpec.js feat($route): add events before/after route change 2011-08-31 14:31:23 -07:00
windowSpec.js feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
xhr.bulkSpec.js style($function): replace $function with 'function' 2011-08-06 01:54:06 -07:00
xhr.cacheSpec.js refactor(scope): remove $flush/$observe ng:eval/ng:eval-order 2011-08-12 15:47:47 -07:00
xhr.errorSpec.js style($function): replace $function with 'function' 2011-08-06 01:54:06 -07:00
xhrSpec.js feat(scope): new and improved scope implementation 2011-08-02 01:00:03 +02:00