rodyhaddad
07fa87a8a8
fix($parse): prevent invocation of Function's bind, call and apply
...
BREAKING CHANGE:
You can no longer invoke .bind, .call or .apply on a function in angular expressions.
This is to disallow changing the behaviour of existing functions
in an unforseen fashion.
2014-06-30 10:43:29 -07:00
rodyhaddad
0af70eb99e
refactor($parse): move around previous security changes made to $parse
2014-06-30 10:40:24 -07:00
Archer
aad502bad8
docs(guide/$location): fix a typo
...
Change "window.location.path" to "window.location.pathname".
Closes #8012
2014-06-28 20:05:32 -07:00
Elnur Abdurrakhimov
dca8972367
docs(Getting Started): fix typo
...
Closes #8015
2014-06-28 19:42:02 -07:00
Laurent Curau
37500fca83
docs(guide/unit-testing): correct spelling
2014-06-26 12:37:04 -07:00
Eddie Hedges
32cb40b86d
docs(guide/introduction): use durandal as an example of a framework
...
To me knockout is a library that does data binding well.
Durandal is a framework that uses knockout as it's data binding component.
2014-06-26 12:19:56 -07:00
Zacky Ma
5a306b7ba3
docs(guide/compiler): change {{user}} to {{user.name}} in example
...
If user has an `actions` property, it should be an object,
which means if you {{user}}, it'll print out the object.
2014-06-23 13:36:04 -07:00
Alex Muntada
03777445e8
docs(tutorial/step-4): fix e2e test
...
After a protractor update the test syntax had to be changed.
Closes #7919
2014-06-20 14:36:13 +01:00
Aiden N
9b51067516
docs(guide/bootstrap): fix link to angular.js script in example
...
code.angularjs.org/angular.js is 404, updated it
Updated http://code.angularjs.org/angular.js in the example to http://code.angularjs.org/snapshot/angular.js
It works fine now.
2014-06-12 14:24:34 -04:00
fuqcool
a3208bf66e
docs(guide/services): fix link to services api
2014-06-12 00:13:10 -04:00
Dave Wells
4e1fb82628
docs(errors/$compile/nonassing): fix reversed attribute and scope property names
2014-06-11 14:55:32 -07:00
Alexander Karpan
ad466412c6
docs(guide/services): fix link to wikipedia article containing parentheses
...
Fix in a mis-parsed link with ')' symbol in it
2014-06-10 16:11:16 -04:00
Brian Ford
7314c1b69e
docs(tutorial/step_09): fix formatting
2014-06-10 01:42:21 -07:00
Brian Ford
fcfe2b3793
docs(tutorial/step_09): fix link to filter guide
2014-06-10 01:34:58 -07:00
Amar Patel
4da169d15d
docs(api/index): add Oxford comma
...
Verified grammar at https://owl.english.purdue.edu/owl/resource/607/01/
2014-06-10 00:58:02 -07:00
Dylan Semler
f37c6f9f73
docs(error/$compile/tplrt): note that html comments can cause this
2014-06-10 00:52:41 -07:00
Matt Johansen
286f269753
docs(tutorial/step_09): note about 'Filter' suffix
...
Reminder that 'Filter' is appended to filter names when injected.
Link to Filter guide where this is mentioned.
2014-06-09 22:01:57 -07:00
Stephen Nancekivell
73640a6b7c
docs(error/$sce/unsafe): suggest including ngSanatize
2014-06-09 20:55:53 -07:00
Arjunkumar
2dc55ff5c2
docs(guide/index): add codeschool link
2014-06-09 15:50:54 -07:00
Uri Goldshtein
98a2563ec4
docs(guide): add UI-Map to Complementary Libraries
2014-06-09 14:31:49 -07:00
Uri Goldshtein
8c02122837
docs(guide): add ngTagsInput to UI Widgets
2014-06-09 14:02:34 -07:00
Nikita Vasilyev
6f6f7e82a4
docs(guide/databinding): add line breaks after images
...
This looks much better, thanks a bunch @NV
2014-06-08 22:13:53 -04:00
Peter Bacon Darwin
d852122442
docs(error/$rootScope/inprog): improve understanding and diagnosis of the error
...
See #5549
2014-06-08 19:35:13 +01:00
Peter Bacon Darwin
e906aafb0a
docs(tutorial): mention additional Debian install step
...
Thanks to GSC Leticia (gsc-leticia) for identifying this problem.
Closes #7665
2014-06-06 21:28:13 +01:00
Richard Littauer
ca566d8d81
docs(guide/directive): explain controllerAs option
...
There was nothing about controllerAs in the developer guide.
Helps #6710 and #6759
2014-06-03 17:57:38 -07:00
Juan Manuel Palacios
b306babe29
docs(tutorial/step_12): clarify that jQuery should be loaded first
...
jQuery needs to be loaded before *all* AngularJS modules in the app,
because otherwise AngularJS will not detect the presence of jQuery and
animations will not work as expected.
2014-06-03 17:48:18 -07:00
Jake Buob
d9317cde4f
docs(tutorial/step_07): fix typo
2014-06-03 16:41:27 -07:00
Dken
23c8af232f
docs(tutorial/index): update requisite version of node
...
Not all 0.10.x support `^` in versions in `package.json`
2014-06-03 16:36:31 -07:00
Richard Littauer
2fcbd39d0b
docs(misc/faq): note that jQuery 2.x currently doesn't work with angular
2014-06-03 16:28:58 -07:00
JMRodriguez24
3ffbf202ce
docs(index/api): fix link o templates
...
Link points to templates. Modified the link label templates instead of types.
2014-06-03 16:26:01 -07:00
Tim Ruffles
09367d88c2
docs(guide/expression): fix docs re $window
...
The documentation on context is incorrect and misleading:
1. "Angular expressions must use $window explicitly to refer to the global
`window` object": expressions cannot access `$window`
1. The example doesn't actually attempt to use $window in a expression. It's in a
function called from an expression, which incorrectly implies to readers that:
1. functions ARE expressions
1. functions called by expressions can't access `window`
Here's [a plunkr](http://plnkr.co/edit/Gd4xAV?p=preview ) to make both these issues clear.
This change fixes the errors and informs the reader about Angular's `$window` etc services,
and adds an explicit example of an expression not being able to access `window`.
2014-06-03 16:21:28 -07:00
Anuj More
369f69d67a
docs(tutorial/index): fix typo
2014-06-03 16:00:00 -07:00
Oivvio Polite
9f43d02af8
docs(guide/providers): fix typo
2014-06-03 15:40:37 -07:00
Oivvio Polite
08e6b88fb2
docs(guide/providers): fix grammar
2014-06-03 14:38:31 -07:00
Caitlin Potter
bc2a5aaf05
docs(tutorial): fix minor errors in step 11
...
I added these when amending the previous commit. My bad ._.
2014-05-31 17:38:38 -04:00
aschokking
4547c11dad
docs(tutorial): add karma config update reference to step 11
...
When including the ng-resource module you appear to need to add a reference to the karma config file
as well or the unit tests will fail. This burned me for a while when going through the tutorial.
2014-05-31 17:33:51 -04:00
Jan
c0b360b993
docs(tutorial): add instructions to make experiment render readably in step 5
...
Update step_05.ngdoc
Closes #7653
2014-05-31 13:20:52 -04:00
dumpweed
a659049893
docs(tutorial/step_05): improve explanation of _-prefix
2014-05-30 17:30:58 -07:00
Firexion
199825ec26
docs(tutorial): make code samples in step 7 match code in angular-phonecat
...
Update step_07.ngdoc
Modifying the code snippets provided to match what was on git
2014-05-30 09:58:16 -04:00
venticello
8ff671753c
docs(tutorial/step-12): fix typo
...
Closes #7596
2014-05-28 10:26:18 -07:00
Peter Bacon Darwin
fcee3bea1a
docs(misc/downloading): fix HTML example formatting
...
Closes #7060
2014-05-27 22:56:41 +01:00
Juan Manuel Palacios
28c0497524
docs(tutorial): match html from angular-phonecat in step 7 instructions
...
Place phoneId binding in a proper HTML node
The code where the phoneId binding in the phone-detail.html template is first explained in step 7
of the tutorial doesn't make it a child of a proper HTML node, which makes the end-to-end test
against the view (also introduced in step 7) fail.
The test acquires the binding right from the view (by.binding('phoneId')), and apparently this
operation fails when the binding is not a child of an HTML node, and therefore the entire test also
fails. As soon as the binding is placed inside a <span></span> tag pair, the binding is found and
the test passes. The code on github for step 7 has it right, the binding is within the span tags,
but in the documentation I'm patching here the span's are missing.
☆.。.:*・゜☆ MERCI ☆.。.:*・゜☆
2014-05-23 01:33:07 -04:00
Zorigt Bazarragchaa
c241a57761
docs(tutorial/index): explain E2E acronym
...
It was confusing to read "end 2 end" as a numeric two. I kept wondering what two end(s).
Later in the tutorial, the text switched to "End to End" which made more sense than numeric two.
2014-05-22 13:21:16 -07:00
Max Tobias Weber
b5391fae8f
docs(tutorial): update code snippet for step 7
...
replaced bootstrap 2 with bootstrap 3 classes
Closes #7433
2014-05-21 15:54:41 -07:00
Brice
78954ffcde
docs(tutorial): improve instructions for causing test failure (step 2)
...
Increase readability for test fail line
Closes #6943
2014-05-21 17:32:31 -04:00
specialorange
3b30a4b64a
docs(error/$injector/unpr): clarify which code is being referred to in the text
...
Closes #7020
2014-05-21 22:27:44 +01:00
Tim van den Eijnden
c94190139d
docs(tutorial): fix controller unit tests to match phonecat / avoid ReferenceError
...
fix 'ReferenceError: PhoneDetailCtrl is not defined' & 'ReferenceError: PhoneListCtrl is not defined' in Karma unit tests
Closes #7421
2014-05-21 16:38:40 -04:00
kalvn
32bd990eda
docs(tutorial): corrected version of jquery installed via bower (step 12)
...
Corrected the version of jquery in the text content.
2014-05-21 16:31:30 -04:00
Andrew Mortimer
f4bb006e45
docs(guide/controller): fix typo
2014-05-21 12:32:57 -07:00
markau
e7eab501db
docs(guide/concepts): The service is finance2.js
...
Closes #7470
2014-05-21 10:58:29 -07:00