aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2012-01-25refactor(sanitizer): turn sanitizer into a serviceMisko Hevery
2012-01-25fix(injector): small perf improvement & code cleanupIgor Minar
2012-01-25feat(jqLite): add contents()Misko Hevery
2012-01-25feature($exceptionHandler): $exceptionHandler now supports var_argsMisko Hevery
2012-01-24feat(ng:class): support using map of classnames and conditionsKai Groner
enables <div ng:class="{'hide': !visible, 'warning': isAlert()}"...
2012-01-23fix($parse): fixing typos in JS_KEYWORDSIgor Minar
2012-01-23fix(scope): support watching functionsIgor Minar
currently we run into infinite digest if a function is being watched as an expression. This is because we generate bound function wrapper when the watch is processed via parser. I'm not too keen on the solution because it relies on the unbound fn that is being exposed for other reasons, but I can't think of a better way to deal with this right now
2012-01-23refactor($controller): Add $controller service for instantiating controllersVojta Jina
So that we can allow user to override this service and use BC hack: https://gist.github.com/1649788
2012-01-23refactor(scope.$watch): rearrange arguments passed into watcher (newValue, ↵Vojta Jina
oldValue, scope) As scopes are injected into controllers now, you have the reference anyway, so having scope as first argument makes no sense… Breaks $watcher gets arguments in different order (newValue, oldValue, scope)
2012-01-23refactor(scope): separate controller from scopeVojta Jina
Controller is standalone object, created using "new" operator, not messed up with scope anymore. Instead, related scope is injected as $scope. See design proposal: https://docs.google.com/document/pub?id=1SsgVj17ec6tnZEX3ugsvg0rVVR11wTso5Md-RdEmC0k Closes #321 Closes #425 Breaks controller methods are not exported to scope automatically Breaks Scope#$new() does not take controller as argument anymore
2012-01-22docs($http): fix missing quotealkis
2012-01-19docs($http): doc fixes suggested by GinaIgor Minar
2012-01-17docs(*): more docsIgor Minar
2012-01-17fix($locationProvider) hashPrefix's getter returned html5Mode + doc fixKonstantin Stepanov
2012-01-17docs(*): various doc fixesIgor Minar
2012-01-16fix(e2e $httpBackend): use browser.defer instead of $deferIgor Minar
this is necessary to avoid $apply from within $apply situations
2012-01-16feat(jqLite): added injector() helper methodIgor Minar
2012-01-14fix($location): do not $digest if browser's url change fired within ↵Vojta Jina
$apply/$digest Chrome (probably other browsers as well) fires 'hashchange' event synchronously, so if you change raw location from within $apply/$digest, we don't want to $apply twice. (It would throw an exception)
2012-01-13feat(module): add runtime blockMisko Hevery
2012-01-13style(*): small fixesIgor Minar
2012-01-13fix($http): anonnymous response interceptors should be treated as factoriesIgor Minar
2012-01-13docs($http, $httpBackend): docs docs docsIgor Minar
2012-01-13fix($http): remove support for PATCH + better whenXXX, expectXXX apiIgor Minar
- there are too many unknowns about PATCH, so I'm dropping its support until we know that this is actually useful - expectGET, expectHEAD and expectJSON (and the same for whenXXX) should not require response data to be specified
2012-01-13refactor($autoScroll): rename to $anchorScroll and allow disabling auto ↵Vojta Jina
scrolling (links) Now, that we have autoscroll attribute on ng:include, there is no reason to disable the service completely, so $anchorScrollProvider.disableAutoScrolling() means it won't be scrolling when $location.hash() changes. And then, it's not $autoScroll at all, it actually scrolls to anchor when it's called, so I renamed it to $anchorScroll.
2012-01-13fix($autoScroll): scroll even if $location is in html5 modeVojta Jina
+ use autoscroll in docs (ng:include)
2012-01-13style(mocks): remove console.logVojta Jina
2012-01-12docs(inject/module): add documentationMisko Hevery
2012-01-12refactor(module): strict separation between module-config / app-runtimeMisko Hevery
2012-01-11style(mock): make jslint and igor happierVojta Jina
2012-01-11refactor(mock.$httpBackend): split (e2e/unit testing version of $httpBackend ↵Vojta Jina
mock)
2012-01-11fix(mock.$httpBackend): resetExpectations should not create new arrayVojta Jina
2012-01-10feat(module): new module loaderMisko Hevery
2012-01-10chore(license): update yearMisko Hevery
2012-01-09fix($httpBackend): fix for jsonp requestsIgor Minar
2012-01-09chore($http): small $http fixesIgor Minar
2012-01-09feat($http): turn mock backend into a decorator + e2e testing supportIgor Minar
- provider -> decorator - autoflush + passThrough mode - fix noop -> angular.noop
2012-01-09feat($http): expose req/resp headers to transform fnsIgor Minar
2012-01-09feat($httpBackend): add expect/when shortcut methodsIgor Minar
2012-01-09fix($http): fix and cleanup $http and friendsIgor Minar
$http: - use promises internally - get rid of XhrFuture that was previously used internally - get rid of $browser.defer calls for async stuff (serving from cache), promises will take care of asynchronicity - fix transformation bugs (when caching requested + multiple request pending + error is returned) - get rid of native header parsing and instead just lazily parse the header string $httpBackend: - don't return raw/mock XMLHttpRequest object (we don't use it for anything anymore) - call the callback with response headers string mock $httpBackend: - unify response api for expect and when - call the callback with response headers string - changed the expect/when failure error message so that EXPECTED and GOT values are aligned Conflicts: src/service/http.js test/service/compilerSpec.js test/service/httpSpec.js
2012-01-09feat(browser.defer): flush should throw exception when queue is emptyIgor Minar
2012-01-08docs(fix): select widget name -> ng:modelVojta Jina
2012-01-07feat(ng:include): enable/disable scrolling through autoscroll attributeVojta Jina
2012-01-06fix($httpBackend): respond 200/404 when on file protocol (fix protocol parsing)Vojta Jina
2012-01-06fix(angular.copy): throw Error if source and destination are identicalDhruv Manek
Closes #693
2012-01-06feat(scope): throw exception when recursive $applyIgor Minar
2012-01-06fix(ng:repeat): support repeating over array with nullIgor Minar
typeof null == 'object', but it doesn't behave like an object because its properties can't be dereferenced, so we need to special-case it. Closes #702
2012-01-03style(q): rename src/Deferred.js to src/service/q.jsIgor Minar
2012-01-03style(q): reorganize the file + drop fallback dependenciesIgor Minar
2012-01-03docs(q): documentation for all $q apisIgor Minar
2012-01-03docs(scope): fix typo $digest -> $watchMark Hansen