aboutsummaryrefslogtreecommitdiffstats
path: root/src/service
AgeCommit message (Collapse)Author
2011-11-30fix($browser.xhr): change method "JSON" to "JSONP"Vojta Jina
Breaks "JSON" xhr method is now called "JSONP"
2011-11-30feat($browser): xhr returns raw request objectVojta Jina
2011-11-21feat(service.$autoScroll): scroll to hash fragmentVojta Jina
- whenever hash part of the url changes - after ng:view / ng:include load
2011-11-21fix(scope): $watch (and angular.equals) should support NaN valuesCodier
- since NaN !== NaN in javascript digest can get into an infinite loop when model value is set to NaN - angular.equals(NaN, NaN) should return true since that's what we expect when comparing primitives or objects containing NaN values Previously NaN because of its special === properties was used as the initial value for watches, but that results in issues when NaN is used as model value. In order to allow for model to be anything incuding undefined and NaN we need to mark the initial value differently in a way that would avoid these issues, allow us to run digest without major perf penalties and allow for clients to determine if the listener is being called because the watcher is being initialized or because the model changed. This implementation covers all of these scenarios. BREAKING CHANGE: previously to detect if the listener was called because the watcher was being initialized, it was suggested that clients check if old value is NaN. With this change, the check should be if the newVal equals the oldVal. Closes #657
2011-11-18chore(browser): rename Browser.js -> browser.js, BrowserSpec.js -> ↵TEHEK Firefox
browserSpec.js And move them to proper service subfolder...
2011-11-14refactor(injector): removed loadModule/ng:moduleMisko Hevery
- added module property to doc:example
2011-11-14refactor(injector): $injector is no longer a function.Misko Hevery
- $injector('abc') -> $injector.get('abc'); - $injector(fn) -> $injector.invoke(null, fn);
2011-11-14style(docs): make jslint happy - fix some warningsVojta Jina
2011-11-14fix(doc) cleanup all api doc link warningsMisko Hevery
2011-11-14fix($location): links without path segment should not change the pathVojta Jina
Closes #648
2011-11-14docs(browser): moved and migrate browser removed unneeded files.Misko Hevery
2011-11-14doc($rootScope): scope documentation changesMisko Hevery
2011-11-14doc(locale): migrate docs to new formatMisko Hevery
2011-11-14doc($formFactory): migrated the $formFactory documentationMisko Hevery
2011-11-14doc(service): update docs for the moved servicesMisko Hevery
2011-11-14doc($filter): added $filter documentationMisko Hevery
2011-11-14doc(AUTO, NG_MOCK): Documenting the AUTO and NG_MOCK moduleMisko Hevery
2011-11-14refactor($location): merged $locationConfig service into $locationProviderMisko Hevery
2011-11-14chore(scope): remove $serviceMisko Hevery
2011-11-14chore(scenario tests): make scenario tests pass againMisko Hevery
2011-11-14new(directive): added ng:module directive for loading modulesMisko Hevery
2011-11-14refactor(api): remove type augmentationMisko Hevery
BREAK: - remove angular.[Object/Array/String/Function] - in templates [].$filter(predicate) and friends need to change to [] | filter:predicate
2011-11-14refacter(filters): convert filter/limitTo/orderBy from type augmentation to ↵Misko Hevery
filters
2011-11-14refactor(json): break dependence on api.jsMisko Hevery
2011-11-14refactor(filter): filters are now injectable and servicesMisko Hevery
BREAK: - removed CSS support from filters
2011-11-14move(filters): appease the History GodMisko Hevery
2011-11-14refactor(parser): turn parser into a service (keep compatibility hack)Misko Hevery
2011-11-14fix(JSON): json date parsing same native/ngular parserMisko Hevery
2011-11-14move(parser): appease the History GodMisko Hevery
2011-11-14refactor($service): removed almost all references to scope.$serviceMisko Hevery
- still need to remove from factory
2011-11-14refactor(services): migrate angular.service -> moduleMisko Hevery
2011-11-14refactor(injector): switch to injector 2.0 introduce modulesMisko Hevery
2011-11-14refactor(compiler) turn compiler into a serviceMisko Hevery
BREAK - remove angular.compile() since the compile method is now a service and needs to be injected
2011-11-14move(compiler): appease the History GodMisko Hevery
- renamed: src/Compiler.js -> src/service/compiler.js - renamed: test/CompilerSpec.js -> test/service/compilerSpec.js
2011-11-14refactor(injector): turn scope into a serviceMisko Hevery
- turn scope into a $rootScope service. - injector is now a starting point for creating angular application. - added inject() method which wraps jasmine its/beforeEach/afterEach, and which allows configuration and injection of services. - refactor tests to use inject() where possible BREAK: - removed angular.scope() method
2011-11-14move(scope): appease the History GodMisko Hevery
- renamed: src/Scope.js -> src/service/scope.js - renamed: test/ScopeSpec.js -> test/service/scopeSpec.js
2011-10-22feat($defer): add $defer.cancelIgor Minar
This functionality was previously available only as obscure $browser.defer.cancel. I also added docs and tests and fixed an issue in .defer.cancel mock.
2011-10-22fix($location): rewrite links with nested elementsVojta Jina
For example: <a href="some/link">inner <span>text</span></a> If you click on "text", then the span element is event.target, so we need to traverse the DOM.
2011-10-13docs($location): Html5 -> HTML5Igor Minar
2011-10-13docs($location): fix $config -> $locationConfig in docsIgor Minar
2011-10-13fix($location): do not rewrite link when meta key pressedVojta Jina
2011-10-12docs(*): remove @workInProgress from everywhereIgor Minar
it's not useful any more and it only makes the docs look ugly
2011-10-11chore(formating): clean code to be function() {Misko Hevery
2011-10-11feat(forms): new and improved formsMisko Hevery
2011-10-11refactor(hover): delete hover serviceMisko Hevery
2011-09-29doc($log): fix the $log service exampleIgor Minar
is no longer auto-published on the root scope, so we need to publish it via a controller
2011-09-26fix(scenario): workaround for FF6 dispatchEvent issue #684208Igor Minar
2011-09-21fix($route): fix regex escaping in route matcherIgor Minar
2011-09-08fix($location): Use encodeUriQuery instead of escapeKai Groner
Closes #492
2011-09-08style: fix some missing semi-colons and spaces, typosVojta Jina