aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-11-04style: remove wsIgor Minar
2013-11-04docs(guide/contribute): remove redundancy and link to CONTRIBUTING.mdBrian Ford
2013-11-04docs($parse): Fix typoJordan Klassen
2013-11-02docs($location): update paramValue description for search()Freek Wielstra
search() supports an array for paramValue, but this is not described in the docs.
2013-10-31fix(ngEventDirectives): parse expression only once during compile phase.Tobias Bosch
2013-10-30feat($parse): secure expressions by hiding "private" propertiesChirayu Krishnappa
BREAKING CHANGE: This commit introduces the notion of "private" properties (properties whose names begin and/or end with an underscore) on the scope chain. These properties will not be available to Angular expressions (i.e. {{ }} interpolation in templates and strings passed to `$parse`) They are freely available to JavaScript code (as before). Motivation ---------- Angular expressions execute in a limited context.  They do not have direct access to the global scope, Window, Document or the Function constructor.  However, they have direct access to names/properties on the scope chain.  It has been a long standing best practice to keep sensitive APIs outside of the scope chain (in a closure or your controller.)  That's easier said that done for two reasons: (1) JavaScript does not have a notion of private properties so if you need someone on the scope chain for JavaScript use, you also expose it to Angular expressions, and (2) the new "controller as" syntax that's now in increased usage exposes the entire controller on the scope chain greatly increaing the exposed surface.  Though Angular expressions are written and controlled by the developer, they (1) typically deal with user input and (2) don't get the kind of test coverage that JavaScript code would.  This commit provides a way, via a naming convention, to allow publishing/restricting properties from controllers/scopes to Angular expressions enabling one to only expose those properties that are actually needed by the expressions.
2013-10-30chore($compile): remove special case for ngIf and ngRepeatBrian Ford
2013-10-30chore: move getBlockElements to Angular.jsBrian Ford
2013-10-30fix(ngIf): ngIf removes elements dynamically added to itBrian Ford
When using ngIf with ngInclude on the same element, ngIf previously did not remove elements added by ngInclude. Similarly, when using ngIfStart/End, ngIf will miss elements added between the start/end markers added after ngIf is linked. This commit changes the behavior of ngIf to add a comment node at the end of its elements such that elements between the starting comment and this ending comment are removed when ngIf's predicate does not hold.
2013-10-30feat(Angular.js): add externs file for Closure CompilerMartin Probst
This adds an (incomplete) externs file for use with the Closure Compiler. Users can pass this as -extern to the compiler pass to get type checking and protect their AngularJS use against property renaming in advanced compilation mode.
2013-10-30docs(api): fix broken linksPete Bacon Darwin
2013-10-30docs(api): fix broken linksFred Sauer
Closes #4705
2013-10-30docs(guide/injecting-services): fix indentation in exampleAdam Bowen
Closes #4714
2013-10-30docs($route): split over-length linePete Bacon Darwin
2013-10-30docs(tutorial): add instructions to install karma pluginsRenan Ivo
2013-10-30docs($route): change example module nameAndrew Jackson
The name of the example module is `ngView`, which might cause needless confusion. Changed name to `ngViewExample`, which should make it clearer. Closes #4702
2013-10-30docs(guide/e2e-testing): fix typoEl Juli
Closes #4700
2013-10-30docs(api): improve grammarJoeLeCodeur
Closes #4690
2013-10-30docs(CONTRIBUTING.md): add more info for contributorsPete Bacon Darwin
Closes #4636
2013-10-30docs(guide/understanding_controller): correct grammarandre
Add the word "to" to improve grammar. Closes #4698
2013-10-28fix($animate): use direct DOM comparison when checking for $rootElementMatias Niemelä
Closes #4679
2013-10-28fix($animate): ensure former nodes are fully cleaned up when a follow-up ↵Matias Niemelä
structural animation takes place Closes #4435
2013-10-28docs(guide/directive): fix myDraggable for zoomed pageGabor Csizmadia
If you have zoomed into the page in your browser then the screen coordinate system no longer matches the page coordinate system. To ensure that dragged elements work correctly when zoomed we should use pageX/pageY rather than screenX/screenY. Closes #4687
2013-10-28docs(guide): improve links to booksPete Bacon Darwin
Nested bullet points don't appear very nicely so resorted to nested heading for the Learning Resources and in particular Books sections. Closes #4677
2013-10-28docs(guide): add link to bookChristopher Hiller
2013-10-28docs($provide): fix link to factory sectionPete Bacon Darwin
2013-10-28fix($animate): ensure enable/disable animations work when the document node ↵Matias Niemelä
is used Closes #4669
2013-10-28feat(ngAnimate): provide support for staggering animations with CSSMatias Niemelä
2013-10-28docs(guide/compiler): fixed a typoroyling
Closes #4674
2013-10-28fix(angular-mocks): add inline dependency annotationDerek Hammer
Annotation allows the angular-mocks to be minified, which sometimes happens with frameworks that automatically process files before running tests. Also, some developers have been using this library in code for their applications. This is not recommended as the library is only designed to support testing and not production applications. If you are likely to want to use the code here in production you would be best forking and maintaining your own version of the code as we will not guarantee that we won't break the annotation of the code in the future. Closes #4448
2013-10-28fix($compile): don't instantiate controllers twice for element transclude ↵Igor Minar
directives This is a fix for regression introduced last week by faf5b980. Closes #4654
2013-10-28style(compileSpec): reorder and cleanup tests for $compile's transclusion ↵Igor Minar
feature
2013-10-27docs(tutorial/index): fix git clone URLPete Bacon Darwin
Closes #4536
2013-10-27docs($resource): fix typoJarrett Harris
Closes #4670
2013-10-27docs(guide/e2e-testing): callout ngmodel vs attrnetpoetica
Add note that `input()` fn matches ng-model instead of HTML name attribute. About five users on forums were snagged by this assumption: http://docs.angularjs.org/guide/dev_guide.e2e-testing#comment-898079915 Closes #4655
2013-10-27docs(form): fix typoYuriy Bilogub
Close #4671
2013-10-27chore(ngdocs): improve the docs search placeholder textMatias Niemelä
2013-10-27docs(guide/ie): fix typoLeif Halvard Silli
The escaping of the colon in the example CSS is incorrect. Replace `ng\\:view {` with `ng\:view {` Closes #4570
2013-10-26docs($location): document $location's eventsValentyn Shybanov
Closes #1569 Closes #4446
2013-10-26docs(guide/unit-testing): fix typogabriel-tessier
Closes #4601
2013-10-26docs(error/compile/tplrt): split long linesPete Bacon Darwin
2013-10-26docs(error/compile/tplrt): clarify and grammargdennie
Closes #4503
2013-10-26Clarification stemming from my own issuesgdennie
It is instructive to give literal examples that reflect common (my) experience of the problem. :)
2013-10-26docs(guide/compiler): clarify wordingPete Bacon Darwin
Closes #4668
2013-10-26docs(guide/compiler): fix typodouglascalhoun
Closes #4667
2013-10-26docs(guide/e2e-testing): add note about Protractor replacementPreston Marshall
Add a note to warn people starting new projects about Protractor replacing the current ngScenario way of doing E2E testing. Closes #4644
2013-10-26docs(api/index): improve grammar@supercobra
Closes #4648
2013-10-26docs(guide/directive): correct reference to myDir rather than ngBindJoe Grund
Closes #4647
2013-10-26docs(guide/overview): improve grammar and readabilityGeorge Bonner
Closes #4639
2013-10-26docs(guide/understanding_controller): apply a more intuitive metaphorAndrew Stuart
The BabyCtrl was a bit confusing and GrandChildCtrl seems to make more sense with the whole "scope inheritance" concept. Closes #4634