aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
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-15fix(input): treat all not number model as blankMisko Hevery
2011-11-15fix(radio): fix binding to value={{exp}}Misko Hevery
2011-11-14refactor(injector): removed loadModule/ng:moduleMisko Hevery
- added module property to doc:example
2011-11-14style(angularPublic): move public export definition to AnuglarPublic.jsMisko Hevery
2011-11-14doc(rename): NG_LOCALE -> ngLocaleMisko Hevery
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-14del($eager): removed the support for $eager servicesMisko Hevery
2011-11-14style(docs): make jslint happy - fix some warningsVojta Jina
2011-11-14feat(bootstrap): added angular.bootstrap methodMisko Hevery
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(scenario): fix scenario bootstrap & publish injector for inspectionMisko Hevery
2011-11-14chore(angular): clean up unused constantsMisko Hevery
2011-11-14refactor(angular): isDate / isArray test iframe independent fixMisko Hevery
2011-11-14fix(i18n): updated the way locale is being registeredMisko Hevery
2011-11-14refactor(mock): moved mocks into its own moduleMisko 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-14cleanup(parser): removed unused methodMisko Hevery
2011-11-14refactor(services): migrate angular.service -> moduleMisko Hevery
2011-11-14refactor(injector): switch to injector 2.0 introduce modulesMisko Hevery
2011-11-14new(injector): new injector v2.0Misko Hevery
- not connected to keep the CL small
2011-11-14refactor(api): cleaned up the externalization of angular API methodsMisko Hevery
2011-11-14feat(injector): support $inject(fn($service){}) function invocationMisko Hevery
2011-11-14feat(injector): support ['$service', function($service){}] annotations for ↵Misko Hevery
function invocation.
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-14feat(injector): Service look up failures include dependency pathMisko Hevery
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