aboutsummaryrefslogtreecommitdiffstats
path: root/docs
AgeCommit message (Collapse)Author
2013-11-13docs(guide/scope): correct scopes exampleandre
Remove reference to `employee` property as it's not used in the example. Inject and use `$rootScope` applying `department` property as mentioned in text. Closes #4839
2013-11-13docs(guide/scope): ensure demo CSS styles work in JSFiddle and PlunkerPete Bacon Darwin
The CSS styling in the ng-scope demo was using CSS classes (`.doc-example-live` and `.show-scope') to prevent the styling for the demo from affecting the entire page. Unfortunately elements containing these classes did not appear in JSFiddle or Plunker when you click edit. This fix moves the `.show-scope' class inside the demo (renaming it `.show-scope-demo`) and removes the reliance on `.doc-example-live` altogether. Closes #4838
2013-11-13docs(contribute): justify note about elevation on WindowsTatham Oddie
This message needs a justification. Without one, it's like asking somebody on *nix to run everything under sudo 'just because'. Closes #4832
2013-11-13docs(errors/compile/tplrt): display html block as codeEddie Monge Jr
HTML elements were getting parsed by as HTML elements Closes #4827
2013-11-13docs(guide): fix typoDerek Peterson
Closes #4821
2013-11-13docs(guide/understanding_controller): fix incorrect property referenceAaditya Talwai
Correct " model property `spice` " to " model property `customSpice` " to match the code sample Closes #4812
2013-11-13docs(ngdoc): clarify extra module installation optionsPete Bacon Darwin
Closes #4811
2013-11-13docs(guide): add ng-newsletter to weekly updates linkAri
Closes #4793
2013-11-13docs(guide): add ng-book link to booksAri
Closes #4792
2013-11-12docs(ngdoc): fix version picker groupingPete Bacon Darwin
The grouping of the different versions was not correct for the new 1.2.0+ releases. Now versions are marked as stable only if they have an even number it the minor version position (e.g. 1.0.8, 1.2.1, 1.2.0-abcde) and they are not an RC version, (e.g. 1.0.0rc3, 1.2.0-rc2). Closes #4908
2013-11-11fix($resource): don't use $parse for @dotted.memberChirayu Krishnappa
params and paramDefaults support looking up the parameter value from the data object. The syntax for that is `@nested.property.name`. Currently, $resource uses $parse to do this. This is too liberal (you can use values like `@a=b` or `@a | filter` and have it work - which doesn't really make sense). It also puts up a dependency on $parse which is has restrictions to secure expressions used in templates. The value here, though a string, is specified in Javascript code and shouldn't have those restrictions.
2013-11-11fix(angular-bootstrap): make IE8 happyPeter Bacon Darwin
2013-11-10docs(guide/migration): fix internal linkPete Bacon Darwin
2013-11-08docs(guide/migration): fix up internal linksPete Bacon Darwin
2013-11-08docs(guide/migration): fix link to #2500Brian Ford
2013-11-08chore(docs): allow periods in doc shortNamesBrian Ford
2013-11-08docs(guide/migration): add migration guideBrian Ford
2013-11-08fix(bootstrap-prettify): share $animate and $$postDigestQueue with demo appsIgor Minar
Although demo apps run in an isolated environment, we need to be able to tell them to disable animations when we are running end-to-end tests. By sharing the same instance of $animate between the two environments we can disable animation across the board. The $animate service uses the $$postDigestQueue to run animations. The outer $animate service uses the outer $$postDigestQueue and to queue up these animations. This means that when we run a digest inside the embedded scope, the animations are never performed - they just sit in the outer scope's queue and are only run when a digest is run on the outer scope. By sharing this queue across the two scopes the animations are performed correctly.
2013-11-07docs(guide/filter): Refactor filter guide docsTobias Bosch
This refactors the filter guide docs into a single file. Also removes out of date references to the fact that Angular used to enhance Arrays while evaluating expressions.
2013-11-06docs(guide): delete ancient videoBrad Green
We have links to better videos now on the guide/index page. This one's time has past.
2013-11-06docs(guide/overview): Refactor overview and mvc docsTobias Bosch
Before, there we multiple overview docs: - guide/overview - guide/introduction - guide/dev_guide.mvc - guide/dev_guide.mvc.understanding_model - guide/dev_guide.mvc.understanding_view - guide/concepts Now we have: - guide/introduction: High level description of Angular with the key benefits but without code or any concrete concepts - guide/concepts: explains all important concepts with a simple example and contains deep links to the other parts of the guide. All the old information was moved into existing documents or deleted when they were duplicates.
2013-11-06fix(docModuleComponents): implement anchor scroll when content addedJeff Cross
When navigating to URLs such as docs.angularjs.org/api/ng#filter, the browser was not able to navigate to the named anchor, "filter," because the anchor did not yet exist in the DOM. This fix uses the $anchorScroll service to automatically scroll to the right place when the content has been added to the page. Fixes #4703
2013-11-06docs(guide/directive): link to directives API from the top of the pageBrian Ford
2013-11-06chore(ngdoc): add dynamic anchors to anchor listBrian Ford
Fixes some warnings during docs generation. Closes #4673
2013-11-06docs(guide/providers): add providers documentationBrian Ford
2013-11-05fix(ngdocs): create mock Doc objects correctlyPete Bacon Darwin
2013-11-05fix(ngdocs): `shortDescription()` should not error if no `description`Pete Bacon Darwin
2013-11-05docs(guide/directive): fix transclusion exampleMichal Bendowski
The example about transclusion and scopes worked only because the order of `scope` and `element` arguments is wrong, which means that the `name' property of the scope is not really being updated. To really work, the directive has to define its own scope, either a new child scope or, as is more common with transclusion, an isolated scope. Closes #4774
2013-11-04docs(guide): add SEO4Ajax to the SEO tools listG Lormeau
Closes #4748
2013-11-04docs(guide/understanding-controllers): fix typo in examplejoshbowdoin
Broken - $scope.spicy = 'very'; Works - $scope.spice = 'very'; Closes #4752
2013-11-04docs(overview): improve readabilityJesse Palmer
Inserted a couple of line breaks to increase readability. Closes #4756
2013-11-04chore(docs): fix ordering of docs in the guideBrian Ford
2013-11-04docs(guide/contribute): remove redundancy and link to CONTRIBUTING.mdBrian Ford
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-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(tutorial): add instructions to install karma pluginsRenan Ivo
2013-10-30docs(guide/e2e-testing): fix typoEl Juli
Closes #4700
2013-10-30docs(api): improve grammarJoeLeCodeur
Closes #4690
2013-10-30docs(guide/understanding_controller): correct grammarandre
Add the word "to" to improve grammar. Closes #4698
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(guide/compiler): fixed a typoroyling
Closes #4674
2013-10-27docs(tutorial/index): fix git clone URLPete Bacon Darwin
Closes #4536
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-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(guide/unit-testing): fix typogabriel-tessier
Closes #4601