Igor Minar
af20a8aac6
docs($parse:isecdom): add a section about return values and CoffeeScript
...
Closes #7973
2014-07-12 20:23:37 -07:00
Pete Bacon Darwin
20b0c2420b
docs(guide/migrate): add breaking changes for 1.3
...
See #8072
2014-07-10 22:44:34 +01:00
Michał Gołębiowski
81cd836137
docs(guide): switch from ngmin to ng-annotate
...
ng-annotate is an independent alternative to ngmin that is non-invasive
and more performant. For the background around the switch, see the discussion
at:
https://github.com/btford/ngmin/issues/93
Closes #8117
2014-07-10 14:14:30 -07:00
Erin Altenhof-Long
38bdb40675
docs(e2e-testing): fix broken protractor docs link
2014-07-10 09:51:11 -07:00
fuqcool
cf4f85f62b
docs(error/$sce/insecurl): fix links to $sce and $sceDelegateProvider
2014-07-08 22:38:49 -07:00
Brian Ford
5963b5c69f
docs(guide/$location): update note about getter/setters
2014-07-08 04:36:26 -07:00
Domenico Matteo
621f678b2d
docs(guide/i18n): fix typo
2014-07-08 03:34:27 -07:00
Brian Ford
f9d8819861
docs(guide/expression): update examples to use modules
2014-07-08 02:00:20 -07:00
Brian Ford
7adcbb06c2
docs(guide/scope): update examples to use modules
2014-07-08 02:00:20 -07:00
Brian Ford
470ad11b2a
docs(guide/forms): update examples to use modules
2014-07-08 02:00:20 -07:00
Brian Ford
9caff0df97
docs($location): update example to use a module
2014-07-08 02:00:20 -07:00
Bill Neubauer
0a51a05d4e
docs(tutorial/step-9): link to list of filters rather than filterProvider
...
Closes #8082
2014-07-06 07:43:21 +01:00
Chris Kuehl
095848915b
docs(error/$rootScope/inprog): fix $timeout typo
...
Closes #8071
2014-07-03 17:32:30 -04:00
Peter Bacon Darwin
1fcbb69f50
chore(docs/css): add margin between ul and p elements
...
Bootstrap CSS was removing the margin after ul elements if they were
descendents of other ul elements. But if the ul was followed by a p
then this looked terrible.
Related to #5953
2014-07-03 12:50:57 +01:00
Peter Bacon Darwin
ae0de07a1b
docs(tutorial/step-0): remove hyphen and clarify items
...
Closes #5953
2014-07-03 12:49:22 +01:00
Robert Kielty
b7c315558d
docs(tutorial/step-7): improve injector information
...
I attempted to tighten up the language around the DI overview so that it was clearer
and more explicit. The sole responsibilities sentence was semantically jarring and
I think looks better as a list. Some minor grammar improvements.
Closes #7099
2014-07-03 12:22:32 +01:00
Peter Bacon Darwin
c0e6527226
docs(guide/controller): tweak initial example
2014-07-03 12:13:12 +01:00
cranesandcaff
be41adc99f
docs(guide/controller): only show best practice controller creation
...
If it is not recommended to use a global function to create controllers,
why should it be shown as possible in the documentation?
One of the most common complaints about AngularJS is that it doesn't enforce
any convention. This is intentional and I generally like this.
However if we can avoid outright bad implementations in examples I believe
we should.
Closes #8011
2014-07-03 12:01:20 +01:00
Peter Bacon Darwin
7e77521a78
docs(guide/di): further clarification of what can be injected
2014-07-03 10:13:21 +01:00
Artiom Neganov
f66d6541b7
docs(guide/di): clarify what "services" can be injected into .config() and .run()
...
Closes #8106
2014-07-03 10:12:56 +01:00
Julie Ralph
63e89524f0
chore(e2e): update protractor to 1.0.0-rc2 and add more logging
...
Use the new options from the reporter to add more logging to end to end tests,
and increase the Jasmine test timeout from 30 seconds to 60 seconds to allow for
legitimately long-lasting tests.
2014-07-02 15:44:12 -07:00
Caitlin Potter
c90cefe161
feat(input): support constant expressions for ngTrueValue/ngFalseValue
...
ngTrueValue and ngFalseValue now support parsed expressions which the parser determines to be constant values.
BREAKING CHANGE:
Previously, these attributes would always be treated as strings. However, they are now parsed as
expressions, and will throw if an expression is non-constant.
To convert non-constant strings into constant expressions, simply wrap them in an extra pair of quotes, like so:
<input type="checkbox" ng-model="..." ng-true-value="'truthyValue'">
Closes #8041
Closes #5346
Closes #1199
2014-07-02 18:07:37 -04:00
Ahmed Nuaman
d2963ad265
docs(guide): fixes to ngShow/ngHide animations
2014-07-02 01:41:13 +03:00
rodyhaddad
77ada4c82d
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 09:25:24 -07:00
rodyhaddad
db713a1c1b
refactor($parse): move around previous security changes made to $parse
2014-06-30 09:25:23 -07:00
Archer
384c24808f
docs(guide/$location): fix a typo
...
Change "window.location.path" to "window.location.pathname".
Closes #8012
2014-06-28 20:04:05 -07:00
Elnur Abdurrakhimov
a87ffe37bf
docs(Getting Started): fix typo
...
Closes #8015
2014-06-28 19:41:32 -07:00
Laurent Curau
c4b654b03c
docs(guide/unit-testing): correct spelling
2014-06-26 12:20:57 -07:00
Eddie Hedges
1054dce4a9
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:01 -07:00
Zacky Ma
ea820b53e1
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:35:03 -07:00
Alex Muntada
28e6500a59
docs(tutorial/step-4): fix e2e test
...
After a protractor update the test syntax had to be changed.
Closes #7919
2014-06-20 14:35:57 +01:00
Matias Niemelä
0ebab08e66
docs(forms): additional documentation for $touched vs $pristine states
2014-06-12 21:46:39 -04:00
Aiden N
abf31ae624
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.
Closes #7807
2014-06-12 14:24:03 -04:00
fuqcool
b32d0f8649
docs(guide/services): fix link to services api
...
Closes #7795
2014-06-12 00:09:56 -04:00
Dave Wells
2d5a84963e
docs(errors/$compile/nonassing): fix reversed attribute and scope property names
2014-06-11 14:51:37 -07:00
Alexander Karpan
94bcc03f3e
docs(guide/services): fix link to wikipedia article containing parentheses
...
Fix in a mis-parsed link with ')' symbol in it
Closess #7775
2014-06-10 16:10:21 -04:00
Brian Ford
0675938931
docs(tutorial/step_09): fix formatting
2014-06-10 01:36:46 -07:00
Brian Ford
b21122002a
docs(tutorial/step_09): fix link to filter guide
2014-06-10 01:34:41 -07:00
Amar Patel
ac3f0d0b58
docs(api/index): add Oxford comma
...
Verified grammar at https://owl.english.purdue.edu/owl/resource/607/01/
2014-06-10 00:57:21 -07:00
Dylan Semler
650f14eb28
docs(error/$compile/tplrt): note that html comments can cause this
2014-06-10 00:52:15 -07:00
Matt Johansen
c6088da00f
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 21:44:48 -07:00
Stephen Nancekivell
63ea0c1aac
docs(error/$sce/unsafe): suggest including ngSanatize
2014-06-09 19:53:05 -07:00
Arjunkumar
8fddaa23c8
docs(guide/index): add codeschool link
2014-06-09 15:50:18 -07:00
Uri Goldshtein
a958bd88a4
docs(guide): add UI-Map to Complementary Libraries
2014-06-09 14:30:36 -07:00
Uri Goldshtein
e2f339e044
docs(guide): add ngTagsInput to UI Widgets
2014-06-09 14:01:13 -07:00
Nikita Vasilyev
1064686599
docs(guide/databinding): add line breaks after images
...
This looks much better, thanks a bunch @NV
Closes #7748
2014-06-08 22:12:42 -04:00
Peter Bacon Darwin
4124a653d9
docs(error/$rootScope/inprog): improve understanding and diagnosis of the error
...
See #5549
2014-06-08 19:33:57 +01:00
Peter Bacon Darwin
560f00860d
docs(tutorial): mention additional Debian install step
...
Thanks to GSC Leticia (gsc-leticia) for identifying this problem.
Closes #7665
2014-06-06 21:27:23 +01:00
Richard Littauer
36b2bba05f
docs(guide/directive): explain controllerAs option
...
There was nothing about controllerAs in the developer guide.
Helps #6710 and #6759
2014-06-03 17:56:37 -07:00
Juan Manuel Palacios
45fed49abf
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:40:33 -07:00