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
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
Ahmed Nuaman
d2963ad265
docs(guide): fixes to ngShow/ngHide animations
2014-07-02 01:41:13 +03: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
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
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
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
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
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
Tim Ruffles
011914121c
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:20:59 -07:00
Oivvio Polite
575b197c27
docs(guide/providers): fix typo
2014-06-03 15:39:49 -07:00
Oivvio Polite
cc495e136d
docs(guide/providers): fix grammar
2014-06-03 14:32:33 -07:00
Lucas Galfaso
cee429f0aa
feat(*): lazy one-time binding support
...
Expressions that start with `::` will be binded once. The rule
that binding follows is that the binding will take the first
not-undefined value at the end of a $digest cycle.
Watchers from $watch, $watchCollection and $watchGroup will
automatically stop watching when the expression(s) are bind-once
and fulfill.
Watchers from text and attributes interpolations will
automatically stop watching when the expressions are fulfill.
All directives that use $parse for expressions will automatically
work with bind-once expressions. E.g.
<div ng-bind="::foo"></div>
<li ng-repeat="item in ::items">{{::item.name}};</li>
Paired with: Caitlin and Igor
Design doc: https://docs.google.com/document/d/1fTqaaQYD2QE1rz-OywvRKFSpZirbWUPsnfaZaMq8fWI/edit#
Closes #7486
Closes #5408
2014-05-23 14:40:51 -07:00
Andrew Mortimer
f5f1fd1963
docs(guide/controller): fix typo
2014-05-21 12:31:26 -07:00
markau
bdfbceb3d3
docs(guide/concepts): The service is finance2.js
...
Closes #7470
2014-05-21 10:47:21 -07:00
Tobias Bosch
f9264eec07
docs(guide/concepts): clarify definitions
2014-05-21 10:47:09 -07:00
Erich
9fb0e16719
docs(guide/concepts): clarify definitions
...
Closes #7483
2014-05-21 10:33:11 -07:00
Sam Dornan
20221f9582
docs(guide/services): fix link to minify Wikipedia page
...
Closes #7488
2014-05-21 10:29:13 -07:00
Caitlin Potter
d8c55864d0
docs(guide/$location): clarify "$watchers" / "$observers" terminology with links
...
Add links to API docs for Scope#$watch and Attributes#$observe in $location in order to clarify
the meaning of that terminology.
Closes #7497
2014-05-21 11:58:52 -04:00
Peter Bacon Darwin
e3375ae37e
docs(guide/expression): mention the ternary operator
...
Closes #6498
2014-05-21 14:46:05 +01:00
Andrey Sidorov
35e53ca649
docs(guide): correct order of directive arguments within the animations chapter
...
Closes #7482
2014-05-19 14:27:58 -04:00
Diego Plentz
0dfbf8ad67
docs(guide/$location) remove duplicate 'Crawling your app' section
...
The "Crawling your app" section was duplicated.
I just removed the duplication and moved the section to the 'Caveats' section.
Closes #7244
2014-05-19 14:05:46 +01:00
Jonathan Gotti
d1f1a1abdd
docs(guide/directives): improve links to isolate scope docs
...
Link "isolate scope" to "Directive Definition object" section
Closes #7484
2014-05-16 11:22:01 -07:00
Zachary Babtkis
a4ec1187d6
docs(guide/css-styling): tiny grammar fix
...
Closes #5443
2014-05-16 14:52:24 +01:00
Peter Bacon Darwin
35a6646a81
docs(guide/services): add reference to ngmin tool
...
Closes #5908
2014-05-16 12:33:05 +01:00
Christopher Rose
a84344adb6
docs(guide/di): fix typos
...
Closes #7480
2014-05-15 20:56:54 +01:00
Thomas Tuts
055b738d4e
docs(directive): fix misspelled HTML class for an alert
...
Muchas gracias
Closes #7381
2014-05-07 07:59:18 -04:00
mjfroehlich
b426424e63
docs(guide/providers): minor edits
2014-05-01 14:39:55 -07:00
Uri Goldshtein
fcc3a7a423
docs(guide): add another analytics library
2014-04-28 12:04:06 -07:00
Thomas Tuts
2022fd768e
docs(guide/unit-testing): remove unwanted whitespaces
...
Closes #5395
2014-04-28 14:39:54 +01:00
Michael Payne
737ef25df1
docs(guide/di): fix typo
...
Fixed a typo. "depenendencies" -> "dependencies"
Closes #7232
2014-04-24 13:27:53 -04:00
Michał Gołębiowski
92e8289c12
refactor(jqLite): change leftover element.bind/unbind to element.on/off
2014-04-22 16:03:22 +02:00
Matthew Davies
6ab7adda3c
docs(guide/controller): fixed spelling of spiciness
...
Closes #7185
2014-04-21 16:04:39 -07:00
Igor Minar
9178c318e1
docs(guide/forms): fix quotes around updateOn that broke ngModelOptions example
2014-04-21 14:53:04 -07:00
Valentin Waeselynck
613a5cc5db
docs(guide/e2e-testing): remove inconsistency in first paragraph
...
Change the "first line of defense" to unit tests, not end-to-end tests.
2014-04-11 19:26:25 +01:00
Valentin Waeselynck
61a8e198bd
docs(guide/e2e-testing): remove repeated word 'manually'
...
Fixed repetition in Caveats paragraph
"manually" was repeated. Grammatical correctness is the prime directive, resistance is futile.
Closes #7073
2014-04-10 10:59:02 -04:00
Steven Benjamin
6743ccf788
docs(guide/directive): directives can be comments, too
...
While it's not a widely used feature, and likely shouldn't be recommended, it is
possible to use a directive via a comment node.
Closes #7061
2014-04-10 06:46:05 -04:00