aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2012-11-26docs: load angular from CDN only on productionVojta Jina
So that when running the docs locally, eg. during e2e testing, we use the latest build version of angular, rather than the stable one from CDN. This fixes e2e tests running with Testacular.
2012-11-26fix(ngClassOdd/ngClassEven): support shrinking/reordering in repeatersIgor Minar
We need to watch $index in addition to cssClasses because only then we can correctly respond to shrinking or reordered repeaters. Closes #1076
2012-11-26style(jqLite): better variable namesIgor Minar
selector => cssClasses
2012-11-26fix(ngRepeat): support mostly-stable repeating for primitivesIgor Minar
I'm reverting changes that were originally done to ngRepeat to fix #933, because these are now not necessary after the previous changes to keep ngModel always synced with the DOM.
2012-11-26fix(ngModel): sync ngModel state with scope stateIgor Minar
In cases when we reuse elements in a repeater but associate them with a new scope (see #933 - repeating over array of primitives) it's possible for the internal ngModel state and the scope state to get out of sync. This change ensure that the two are always sync-ed up even in cases where we reassociate an element with a different (but similar) scope. In the case of repeating over array of primitives it's still possible to run into issue if we iterate over primitives and use form controls or similar widgets without ngModel - oh well, we'd likely need a special repeater for primitives to deal with this properly, even then there might be cornercases. Closes #933
2012-11-26test(ngRepeat): clean up and improve testsIgor Minar
2012-11-26fix(ngRepeat): attempt to simplify and improve existing fix for #933Igor Minar
I'm keeping this in for future reference. The issue with this solution is that if we shift() the first item in the array, the whole repeater DOM will be rebuilt from scratch, we need to do better than that.
2012-11-26test(ngRepeat): add test for issue #1076Igor Minar
2012-11-26fix(jqLite): fire $destroy event via triggerHandlerIgor Minar
in jQuery 1.8.x the data() data structure is changed and events are not accessible via data().events. Since all we need is to trigger all event handlers, we can do so via triggerHandler() api instead of mocking with the internal jQuery data structures. This fix was originally proposed by PeteAppleton via PR #1512. Closes #1512
2012-11-26feat(jqLite): add triggerHandler()Igor Minar
we need triggerHandler() to become jQuery 1.8.x compatible. this is not fully featured triggerHandler() implementation - it doesn't bother creating new DOM events and passing them into the event handlers. this is intentional, we don't need access to the native DOM event for our own purposes and creating these event objects is really tricky.
2012-11-25docs(CONTRIBUTING.md): add contrib info file for GitHubIristyle
2012-11-25fix(Scope): allow removing a listener during eventVojta Jina
2012-11-25docs(README.md): fix "API Docs" linkKevin Western
use direct link to api docs
2012-11-25docs(api): add ngRequired to input/select/textarea directivesDean Sofer
Closes #1202
2012-11-24fix($cacheFactory): return undefined when removing non-existent entryJeremy Tymes
Instead of throwning an exception, remove should return undefined when cache entry to be removed doesn't exist. Closes #1497
2012-11-24fix($resource): prevent default params to be shared between actionsAdrian Gheorghe
Having a $resource defined as: var R = $resource('/Path', {}, { get: {method: 'GET', params: {objId: '1'}}, perform: {method: 'GET'} }); was causing both actions to call the same URI (if called in this order): R.get({}); // => /Path?objId=1 R.perform({}); // => /Path?objId=1
2012-11-22docs(): Fix a couple of typos in the documentationKris Jenkins
2012-11-22docs(guide/concepts): some typo/grammar fixesDave Clayton
2012-11-22docs(guide/directive): fix typoJohn Hume
2012-11-22docs($q): fix missing bracket in the exampleUri Goldshtein
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-11-11revert($resource): support custom headers per actionIgor Minar
This reverts commit b936e52874fe0173c6d4ba0a84f45deac67518ac. This commit introduces a feature and should haven't been merged into the stable branch.
2012-11-11chore(validate-commit-msg): recognize 'revert' as valid commit typeIgor Minar
2012-11-11docs(angular.module): improve angular.Module#run docsHaralan Dobrev
2012-11-11docs(guide): fix run-on sentence in modules guideJamison Dance
2012-11-11docs(tutorial): change module name in step-7Jamison Dance
2012-11-11docs($timeout): set return type to Promise instead of *.Wes Alvaro
The cancel function accepts a Promise, but the timeout function fails to specify returning a Promise.
2012-11-11docs(ngList): fix typoJosh Adams
2012-11-11docs(encodeUriSegment): fix typoJosh Adams
2012-11-11docs(guide/directive): fix names in scope '='; easier to grokTim Macfarlane
2012-11-11docs(ngHide): Fix typo and make it more in line with ngShowChristian Vuerings
2012-11-08chore(docs): fix docs-scenario.htmlIgor Minar
2012-11-08chore(docs): remove obsolete gae filesIgor Minar
2012-11-05docs(directive): fix typoMiško Hevery
2012-10-31chore(testacular): use local testacular versionSudhir Jonathan
Making testacular a dependency to avoid having to install it globally. (Causes npm issues on some machines)
2012-10-31fix(select): select option with a label of 0 is not shownSudhir Jonathan
Bug caused by the use of the `||` operator to replace all non-truthy values with an empty string. Changed to replace only `undefined` values. Closes #1401
2012-10-31chore(validate-commit-msg): allow '/' in scopeIgor Minar
2012-10-31docs(guide/location): fix table formattingFred Sauer
Fix table formatting so headings are bold, rows are separated by lines, and rows have :hover style
2012-10-31docs(module): fix typo in exampleTim Macfarlane
fixed example app, `simpleAppModule` should have been `myAppModule`.
2012-10-31chore(injector): fix typo in injector documentationsqwishy trick
2012-10-31fix(scenario-runner): support data-ng and x-ng based attributesAdam Macejak
Prefixed attributes like data-ng-model and x-ng-model were not being found by the Selector. It was only looking at ng: and ng- prefixed attributes. Added a few tests as well to ensure the aforementioned prefixed attributes are being matched properly. Closes #1020
2012-10-31docs(contribute): fix task name for continuous testingDaniel Luz
2012-10-31fix(docs): correctly generate filenames for plunkr/fiddleIgor Minar
previously examples like $http where broken because we would strip part of the filename (http-hello.html -> http) we really want to strip only the id suffix that we append to disambiguate common filenames (like index.html) which appear in many examples.
2012-10-31feat(docs): add plunkr supportShyam Seshadri
Add option to edit source in Angular Docs in Plunkr in addition to JsFiddle
2012-10-31fix(doc): typo on FAQDaniel Luz
Closes #1493
2012-10-29fix($compile): don't look for class directives in empty stringIgor Minar
if className is undefined or empty string, don't bother looking for directives in there
2012-10-29fix($compile): compilation should not recurse into empty nodesIgor Minar
if a node doesn't have children then don't try to compile these non-existent children
2012-10-29style($compile): better fn names for debuggingIgor Minar
2012-10-29refactor($compile): simplify nodeLinkFnIgor Minar
2012-10-29fix($compile): prevent double attr interpolation w/ templateUrlIgor Minar
This fixes the issue that caused two attr interpolation observers to be registered for the same attribute as a result of isolate scope definition with attr (@) property for this attribute. Duplicate observers would then fight with each other updating the model. The issue occured only when this directive was used in a repeater because that's when we clone the template node which caused the two observers to point to two different sets of $attr instances. Closes #1166, #836