aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-01-22refactor(externs): move Closure Externs back to Closure code repositoryv1.0.xMartin Probst
While Closure Compiler generally recommends to maintain the externs for projects together with their source, this has not worked well for AngularJS: - Changes to externs must be tested; they can break clients. AngularJS has no testing infrastructure for this. - Changes mostly come from users inside of Google and are much more easily submitted together with the code using them within Google's repository. This change deletes the externs here and adds a README.closure.md to document the change. They will be added back to Closure Compiler in a separate submit. Closes #5907
2014-01-22test(compileSpec): fix broken build on FFIgor Minar
FF 26.0 now throws: "TypeError: NodeList doesn't have an indexed property setter." when we try to assign to `childNodes[1]`, since this test still works properly on Chrome and the issue being tested is not a cross-browser issues, I'm just making the patchability check more robust instead of trying to figure out how to make this test fully pass on FF.
2013-10-30feat(Angular.js): add externs file for Closure Compilerg3_v1_0Martin 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-21revert(validate-commit-msg): fix incorrect commentDaniel Lamb
Revert d5b62465f06b652b227b73cd15c298832f1f7070 since it was not valid. Closes #3952
2013-10-11docs(guide/controller): improve guidance and examplesPete Bacon Darwin
Remove mention of global controller functions Convert larger examples to runnable demos Remove mention of pre-1.0 controllers, in particular discussion of controller inheritance. TODO: Probably could do with updating to explain the "controller as" syntax at some point. Closes: #4373
2013-10-11docs(guide/controller): use `.controller` syntaxFelix
Use the recommended `module.controller` syntax rather than global functions to define controllers in the examples.
2013-10-10docs($provide): improve docs and examples furtherPete Bacon Darwin
Improve the "tracking" service example by adding a configuration option. Get better formatting of the generated code samples using <pre> tags. Move the detailed explanations into each function's documentation block. Improve the overview and list the constituent functions by significance. Closes #4302
2013-10-10docs($provide): improve examples and explanationsTim Ruffles
$provide's example seems awkward. Replace with more real-world example, using an injected service, where the service defined has a good reason to be a singleton. There's quite a lot of confusion around $provide: http://stackoverflow.com/search?q=angularjs+service+vs+factory Tests for example at: http://jsbin.com/EMabAv/1/edit?js,output
2013-10-09docs(tutorial/step11): correct Jasmine Matcher linkMarko Bonaci
Link http://pivotal.github.com/jasmine/jsdoc/symbols/jasmine.Matchers.html is no longer valid. Closes #4329
2013-10-07docs(ngValue): add docs for ngValue directiveBrian Ford
Closes #4267
2013-10-07docs(ngModel): fix grammar and improve clarityDave Peticolas
Closes #4291 Conflicts: src/ng/directive/input.js
2013-10-03docs(angular.bind): clarify that bind is partial applicationJoe Hanink
The `angular.bind` function reflects the definition of "partial application", which reduces a function's arity rather than transforming a function with n args into a chain of n functions, each having a single arg. curry : f(x,y,z) -> f(x)(y)(z) partial application : f(x,y,z) -> f(x)(y,z) Closes #4239
2013-10-03docs(guide/directive): fix indentation in example codemtaran-google
Closes #4241
2013-10-03docs(guide/directive): clarify use of binding to scopesgdennie
The use of 'angular' as sample text is confusing to the newbie in that they are forced to confirm that the text 'angular' is not a keyword or otherwise referring to a system component. This is changed to a more obvious sample text. The most common form of `ngBind` is moved to the top of the list. Closes #4237
2013-10-03docs(rootScope): improve grammar and clarityPete Bacon Darwin
2013-10-03fix($sanitize): sanitize DOCTYPE declarations correctlypaolo-delmundo
HTML to be sanitized that contains a DOCTYPE declaration were causing the HTML parser to throw an error. Now the parser correctly removes the declarations when sanitizing HTML. Closes #3931
2013-09-30docs(angular.copy): add an example with the two possible argumentsUri Goldshtein
Closes #4179
2013-09-30docs(tutorial/step0): fix minor typoRichard Sentino
Closes #4154
2013-09-28docs($timeout): add a $timeout exampleUri Goldshtein
The original example is by gxlcl. Closes #4180
2013-09-28docs(guide/overview): fix typoThomas Tuts
Closes #4188
2013-09-27docs(guide/e2e-testing): select also uses ng-model (like input)joscarsson
This is specified for input fields, but not for selects. This change specifies it also for select().
2013-09-27docs(angular.Module): fix controller and directive method parametersDavid Bennett
2013-09-27docs(ngCsp): fix grammarDave Peticolas
2013-09-27docs(dblClick): fix grammarDave Peticolas
2013-09-27docs(ngDisabled): clarifyDave Peticolas
2013-09-25docs(docs.css): prevent `<code>` elements from wrappingMisha Moroshko
Closes #4114
2013-09-25docs(ngHref): fix formatting and clarifyDave Peticolas
Closes #4106
2013-09-25docs(jqLite): fix typolorint
Closes #4105
2013-09-25docs(guide/$location): provide a title for section about `replace()`gdennie
Closes #4104
2013-09-25docs(guide/$location): clarify $location service rolegdennie
Clean up confusing use of the term URL to refer to $location as well as 'URL in the browser'. Closes #4103
2013-09-25docs($http): fix adding default header to get request exampleMr.Raindrop
Initially, `$httpProvider.defaults.headers.get` is `undefined`, so `$httpProvider.defaults.headers.get['My-Header']='value'` will throw an error. Closes #4101
2013-09-25docs(guide/e2e-testing): Fix typojanhartigan
Closes #4100
2013-09-25fix(ngScenario): fix error message descriptionPete Bacon Darwin
2013-09-23refactor(angular.toJson): use charAt instead of regexpBoris Serdyuk
Provides a performance improvement when serializing to JSON strings. Closes #4093
2013-09-19docs(ngModelController): clarify issue with isolated scope directivePete Bacon Darwin
See #4043
2013-09-19docs(input): fix spelling error and reword for clarityts-web
2013-09-19doc(ngApp): fix grammarDave Peticolas
2013-09-19docs($exceptionHandler): add an example of overriding the handlerJared Forsyth
Closes #3816
2013-09-19docs(guide/i18n): change non-existent de-ge to de-deMaarten Stolte
The de-ge locale does not exist Closes #4053
2013-09-19docs(ngForm): fix grammar and improve explanationDave Peticolas
Closes #4050
2013-09-18docs(guide/$location): describe workaround for collocated appsAsh
When using Angular in the root of a domain with HTML5 URLs where there are links to external paths within the same directory, the `otherwise` route handler will catch these external files. This can be fixed by prefixing '.' onto the links to URLs that should be handled by angular routing. Original Issue: #3520 Example of Fix: http://fiddle.jshell.net/fgHf6/3/ Closes #3555
2013-09-18docs(tutorial/step_03): add info about karma-ng-scenario plug-inZachary Friedman
The existing documentation for this step could have people find themselves unable to run the `e2e-test.sh` script. This note added regarding `karma-ng-scenario` will minimize their confusion and allow people to run the script. Closes #4033
2013-09-18fix(scenario): include "not " in error messages if test is invertedHubert SABLONNIÈRE
Closes #3840
2013-09-17docs(input): clarify that `contenteditable` is an HTML5 attributeJames
Closes #3841
2013-09-16docs(orderBy): fix typo in orderBy.js documentationJesse Palmer
Closes #3838
2013-09-16doc(api): fix grammar in a directive descriptionDave Peticolas
- Add missing words. - Simplify text.
2013-09-16docs(api): fix grammar in ngClick descriptionDave Peticolas
- Add missing word 'directive'. - Add missing word 'an'.
2013-09-13docs($browser): add jsdoc tags and fix typoBen Tesser
2013-09-13docs(ngController): rephrased the description for clarityDean Sofer
2013-09-13docs($http): add examples when calling $http outside $applyPete Bacon Darwin
Closes #3996