aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/rootScope.js
AgeCommit message (Collapse)Author
2013-10-25docs($rootScope): added $eval `locals` parameter documentationCaio Cunha
Added documentation for `locals` parameter of `$eval` method.
2013-10-24docs(rootScope): add example of using a listener function for $watchWesley Cho
Closes #4451
2013-10-22style: make jshint happyVojta Jina
2013-10-18docs: correct broken linksVojta Jina
This also contains some whitespace corrections by my editor.
2013-10-15docs($rootScope): better document infinite digest and ttlIgor Minar
2013-10-05fix(rootScope): make stopPropagation only stop its own eventPete Bacon Darwin
All sibling event handlers residing on the same scope to were stopped if one of them called stopPropagation. Closes #4204
2013-10-03docs(rootScope): improve grammar and clarityDave Peticolas
Closes #4234
2013-10-02fix($scope): $evalAsync executes on the right scopeLucas Galfasó
Executes $evalAsync at the scope that the call was made Closes: #3548
2013-09-27style($rootScope): fix argument name in $postDigest apiIgor Minar
2013-09-11docs(scope): clean up grammar and improve claritySam Dornan
Some typos fixed and grammar improved: - withing -> within - life-cycle -> life cycle - extraneous spaces - grammar mistakes - missing commas - reworded unclear statements Closes #3920
2013-09-03chore($rootScope): provide support to execute a function after the digest ↵Matias Niemelä
cycle is complete
2013-08-26feat(Scope): async auto-flush $evalAsync queue when outside of $digestIgor Minar
This change causes a new $digest to be scheduled in the next tick if a task was was sent to the $evalAsync queue from outside of a $digest or an $apply. While this mode of operation is not common for most of the user code, this change means that $q promises that utilze $evalAsync queue to guarantee asynchronicity of promise apis will now also resolve outside of a $digest, which turned out to be a big pain point for some developers. The implementation ensures that we don't do more work than needed and that we coalese as much work as possible into a single $digest. The use of $browser instead of setTimeout ensures that we can mock out and control the scheduling of "auto-flush", which should in theory allow all of the existing code and tests to work without negative side-effects. Closes #3539 Closes #2438
2013-08-07chore(dump): fix our karma.dump bridgeIgor Minar
previously it didn't work for dumping multiple objects
2013-07-22fix(Scope): ensure that isolate scopes use the main evalAsync queueIgor Minar
Previously any $evalAsync task scheduled from a isolate scope or a child of an isolate scope would never execute because we never flushed this queue
2013-07-18docs(jqLite): document "$destroy" eventPete Bacon Darwin
2013-07-11fix(scope): watches can be safely unregistered inside watch handlersPaulo Scardine
Closes #2915
2013-06-17chore(minErr): replace ngError with minErrKen Sheedlo
2013-05-24feat(ngError): add error message compression and better error messagesIgor Minar
- add toThrowNg matcher
2013-05-10docs($scope): clarify documentation for $broadcastwilltj
2013-05-02fix($rootScope) ensure $watchCollection correctly handles arrayLike objectsGonzalo Ruiz de Villa
2013-04-15docs(rootScope): fix typoPete Bacon Darwin
2013-04-15docs(rootScope): Fix various typosLaurent
2013-04-02feat(ngdocs): added functionality to import and extract contents of external ↵Matias Niemelä
files inside docs comment code
2013-03-29feat(Scope): add $watchCollection method for observing collectionsMatias Niemelä
The new method allows to shallow watch collections (Arrays/Maps).
2013-03-29docs(*): fixed typosPascal Borreli
2013-02-14docs($rootScope): rearrange event listener docsEwen Cumming
2013-02-14feat(scope): only evaluate constant $watch expressions onceDaniel Luz
2013-02-14fix($rootScope): minor typo fixesDaniel Luz
2013-01-30feat(Scope): expose transcluded and isolate scope info for batarangBrian Ford
test($compile): add test for exposing transclude and isolate scope info to batarang
2013-01-29docs(Scope): fix argument docs for $onFred Sauer
2013-01-17docs(rootScope): correct code examplesMatthew Browne
2012-11-30fix(Scope): ensure that a scope is destroyed only onceIgor Minar
Due to bd524fc4 calling $destroy() on a scope mupltiple times cases NPE. Closes #1627
2012-11-25fix(Scope): allow removing a listener during eventVojta Jina
2012-11-14fix($rootScope): workaround for Chrome's memleakIgor Minar
Under certain circumstances chrome fails to GC scopes because of buggy optimizations and caching. Nulling out references to (not from!) other scopes helps Chrome to realize that this object should be GC-ed. This is really just a workaround as the real problem needs to be fixed in Chrome. See discusstion at: https://github.com/angular/angular.js/issues/1313#issuecomment-10378451 And chrome bug at: https://code.google.com/p/v8/issues/detail?id=2073 Closes #1313
2012-09-11fix($evalAsync): have only one global async queueMisko Hevery
Having one async queue per scope complicates the matters when users wish to do partial scope updates, since many services put events on the rootScope. By having single queue the programing model is simplified.
2012-09-11docs($rootScope): fix iteration limit described by $watch, it's actually 10 ↵Daniel Luz
as of now
2012-09-11docs($rootScope): fix typos and minor wording tweaks on $watchDaniel Luz
2012-09-11docs($rootScope): fix quoting on expressionDaniel Luz
2012-09-11docs($rootScope): standardize on present, third-person actions for descriptionsDaniel Luz
2012-09-11docs($rootScope): backquote attribute types too on $onDaniel Luz
2012-09-11docs($rootScope): fix typos on $newDaniel Luz
2012-09-11docs($rootScope): fix typo on $evalDaniel Luz
2012-09-11docs($rootScope): fix typos on $watchDaniel Luz
2012-08-12docs: fix broken links to $compileProvider.directive()Vojta Jina
2012-08-10docs($rootScope): fix $on listener signature docunirgy
Added args in $on() listener syntax declaration
2012-06-12docs(*): simplify doc urlsIgor Minar
we now have two types of namespaces: - true namespace: angular.* - used for all global apis - virtual namespace: ng.*, ngMock.*, ... - used for all DI modules the virual namespaces have services under the second namespace level (e.g. ng.) and filters and directives prefixed with filter: and directive: respectively (e.g. ng.filter:orderBy, ng.directive:ngRepeat) this simplifies urls and makes them a lot shorter while still avoiding name collisions
2012-06-02doc(ngdoc): clean up doc generation and add missing documentation linksMisko Hevery
2012-06-02docs(scope): rewriteMisko Hevery
2012-05-23fix($rootScope): TTL exception does not clear $$phaseMisko Hevery
When $digest() throws infinite digest exception it does not properly clear the $phase leaving the scope in an inconsistent state. Closes #979
2012-05-17feat(scope): add event.preventDefault() and event.defaultPreventedVojta Jina