| Age | Commit message (Collapse) | Author |
|
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
|
|
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.
|
|
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.
|
|
Revert d5b62465f06b652b227b73cd15c298832f1f7070 since it was not valid.
Closes #3952
|
|
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
|
|
Use the recommended `module.controller` syntax rather than global
functions to define controllers in the examples.
|
|
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
|
|
$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
|
|
Link http://pivotal.github.com/jasmine/jsdoc/symbols/jasmine.Matchers.html
is no longer valid.
Closes #4329
|
|
Closes #4267
|
|
Closes #4291
Conflicts:
src/ng/directive/input.js
|
|
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
|
|
Closes #4241
|
|
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
|
|
|
|
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
|
|
Closes #4179
|
|
Closes #4154
|
|
The original example is by gxlcl.
Closes #4180
|
|
Closes #4188
|
|
This is specified for input fields, but not for selects. This change specifies it also for select().
|
|
|
|
|
|
|
|
|
|
Closes #4114
|
|
Closes #4106
|
|
Closes #4105
|
|
Closes #4104
|
|
Clean up confusing use of the term URL to refer to $location as well as 'URL in the browser'.
Closes #4103
|
|
Initially, `$httpProvider.defaults.headers.get` is `undefined`, so
`$httpProvider.defaults.headers.get['My-Header']='value'` will throw an
error.
Closes #4101
|
|
Closes #4100
|
|
|
|
Provides a performance improvement when serializing to JSON strings.
Closes #4093
|
|
See #4043
|
|
|
|
|
|
Closes #3816
|
|
The de-ge locale does not exist
Closes #4053
|
|
Closes #4050
|
|
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
|
|
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
|
|
Closes #3840
|
|
Closes #3841
|
|
Closes #3838
|
|
- Add missing words.
- Simplify text.
|
|
- Add missing word 'directive'.
- Add missing word 'an'.
|
|
|
|
|
|
Closes #3996
|