Jared Forsyth
7a5cfb593f
docs(guide/unit-testing): fix typo
2013-06-04 22:28:43 +01:00
Jared Forsyth
8400852f4e
docs(guide/injecting_controllers): add a hint in example
...
Add a hint to tell the user that they need to click 3 times before an alert is shown.
2013-06-04 22:25:10 +01:00
Pete Bacon Darwin
c785b2edff
docs(guide/unit-testing): fix controller test example
2013-06-04 22:10:04 +01:00
Ehsan Ghandhari
4fd057e7c7
docs(guide/concepts): add comment as a type of directive
2013-06-04 20:53:39 +01:00
Robb Shecter
d3d7b9e3ed
docs(guide/understanding_model): improve example consistency
2013-06-04 20:50:09 +01:00
Manuel Kiessling
40acd186bc
docs(guide/compiler): fix some minor language errors
2013-06-04 20:38:02 +01:00
Alex Young
ffcfe7a86e
docs(guide/di): fix some small grammatical issues
2013-06-04 20:30:43 +01:00
Eduardo Garcia
a95bfbeac0
docs(guide): format snippets of code in plain text
2013-06-04 20:06:33 +01:00
adamshaylor
c6fa3b06b1
docs(overview.ngdoc): clarify wording
2013-06-04 19:59:42 +01:00
Siddique Hameed
4179f62cc2
docs(guide/unit-testing): add expression example
...
* Improved developer guide, directive unit testing documentation code with scope expression
* Removed documentation block with nothing on it
2013-05-23 21:55:44 -07:00
Jens Rantil
9d19b512e0
docs(guide/directive): clarify directive priority
...
Fixes #2644 .
2013-05-22 21:09:20 +01:00
Ben Ripkens
cdf75b302f
docs(ngScenario): provide examples for element(...).query(fn)
...
element(selector, label).query(fn) is a very useful function, yet barely
explained. The developer guide should show how this function can be used
to conditionally execute behavior and assertions.
2013-05-21 13:36:17 +01:00
Jens Rantil
7f597a7509
doc($compile): clarify compile function return value
...
If a compile function (within a directive) returns a function, it is a
post-link function.
Closes : #2713
2013-05-21 13:17:51 +01:00
Jens Rantil
907d2f521e
docs(guide/type): remove empty "Type" page in guide
...
Closes #1316
2013-05-21 13:12:41 +01:00
David Holmes
518a92651f
doc(guide/compiler): fix grammatical error
...
"The compilation process happens into two phases." should be "The compilation process happens in two phases."
2013-05-20 10:24:12 +01:00
Pete Bacon Darwin
be993528a3
docs(guide::testing): fix link to angular-seed
2013-05-18 22:17:15 +01:00
Ben Ripkens
2ab4fde817
docs(guide): add API documentation for ngScenario matchers
...
Matchers are briefly mentioned in the e2e test guide, but there is no
documentation for the available matchers.
2013-05-18 21:00:45 +01:00
Jeremy Wilken
a7ba27b92c
doc(guide:$location): fix example for two way databinding.
...
When you are watching the $location.path(), it has to be wrapped in a
function since it is not attached to the scope and if you pass a string
to $scope.$watch it is evaluated against the $scope.
2013-05-17 19:16:55 +01:00
Matt Haggard
1f99c3a521
doc(guide): add links to angular-seed examples
...
The examples in the angular-seed project are better than nothing,
which is what we currently have here!
2013-05-16 22:02:16 +01:00
jamesBrennan
99cd86a96e
docs(guide:understanding_controllers): remove outdated info
...
Remove the outdated info in this document related to this API change
https://github.com/angular/angular.js/blob/master/src/ng/rootScope.js#L166
2013-05-15 21:32:15 +01:00
veselinn
ac8ba104d4
docs(guide): fix a typo
2013-05-10 20:52:18 +01:00
Alfred Nutile
f6caab598f
docs(guide): fix typo on model name
2013-05-10 14:58:00 +01:00
Chris Nicola
fc25a443f8
docs(guide:directive): add directive controller usage
...
Specifically adding a directive controller to the example definition
and how to use declare injectables to avoid minification errors.
2013-04-30 10:47:14 +01:00
Jeff Pickelman
b1157aafd7
docs(di): fix typos and grammar
2013-04-24 20:52:25 +02:00
Timothy Ahong
2d5297e665
docs(guide:unit-testing): add an example unit test for directives
2013-04-23 14:00:14 +01:00
Pete Bacon Darwin
de296f1b52
docs(compiler): don't drag selected content
...
In the example with draggable, the mouseDown handler needs to start with an event.preventDefault(). Otherwise the following bug occurs:
1) Select the text of the draggable span by clicking outside the span and dragging the mouse to the left or right through the span. Release the mouse button.
2) Now click on the span's inner text, and start to Drag it. The browser's default functionality that drags highlighted text so that it can be pasted into something else (say a document in a text editor) is invoked.
3) Release the mouse button. Now suddenly, you'll be dragging the span. But you won't be able to place it down on the page. It'll just follow the mouse around until the page is refreshed.
Closes : #2465
2013-04-22 13:38:18 +01:00
Keir Mierle
8c75b5f55a
docs(compiler): fix variable scope in drag sample
...
Note that without this fix, if you add a second draggable element, the
two instances clobber each other since there is only one set of
startx/starty/x/y variables.
Here is an example: http://plnkr.co/edit/aGrLXcIo2SuaePuAdfmQ?p=preview .
On the surface it looks like it would be fine because you only have one
mouse but in practice the start position jumps when you start dragging.
Here it is fixed: http://plnkr.co/edit/VuvPasuumtCeiVRisYKQ?p=preview
2013-04-22 12:52:08 +01:00
Keir Mierle
2d66ccd593
docs(forms): fix formatting
2013-04-22 12:38:26 +01:00
Ron Yang
af9c20c07d
docs(forms): fix typo
2013-04-22 12:34:38 +01:00
Paulo Ávila
2c34596b32
docs(guide): minor grammatical change
2013-04-21 19:53:52 +02:00
Merrick Christensen
8a2bfd7a78
docs(concepts): fix spelling error
2013-04-19 14:44:14 +01:00
Jared Beck
1d3e79e24e
docs(overview): correct the input validation example
...
The documentation says that the input should be red if you enter
invalid values or leave it blank. Because the type="integer" is not
supported this does not happen in practice. This fix changes the
input type to number and adds an ng-pattern to ensure that the number
is an integer.
2013-04-19 14:39:58 +01:00
@fbiville
fd91d86f0c
docs(directive guide) typo in compile/link section
...
The code snippet shows `{{action.description}}`, the explanation referred to it as `{{action.descriptions}}`.
2013-04-17 14:50:19 +01:00
Timothy Ahong
a91405889f
docs(guide.unit-testing): fix typo
2013-04-16 21:04:09 +01:00
Pete Bacon Darwin
5d1f37b535
doc(overview): add link to angular demo slides to overview
2013-04-15 11:20:46 +01:00
Seunghoon Yeon
0d8a95af6f
docs(module): fix typo
2013-04-13 17:19:11 +02:00
Prathan Thananart
6b63afe2f7
docs(guide): Update $locationProvider docs.
...
Default hashPrefix setting is not `'!'`, it's actually `""`.
Source: https://github.com/angular/angular.js/blob/master/src/ng/location.js#L472
2013-04-11 15:27:46 -07:00
kamagatos
b86815fb5b
docs(guide/i18n): fix a typo
2013-04-11 15:21:33 -07:00
Brent Morrow
ebf7cf9ed3
docs(guide/concepts): fix typo
...
An event is a user **interaction**, timer event, or network event (response from a server).
2013-04-11 14:56:30 -07:00
{Qingping,Dave} Hou
db547e63ee
docs(guide): Added $ sign to controller example
2013-04-11 14:32:44 -07:00
urenmj
63c25fd875
docs(dev-guide): Fixed a typo.
2013-04-11 14:25:50 -07:00
Brent Morrow
38dffe7e91
docs(guide/concepts): wording change
...
... or when working with --> a <-- third-party library callbacks.
... or when working with third-party library callbacks.
2013-04-11 14:08:43 -07:00
Brent Morrow
941633a911
docs(guide/concepts): wording change
2013-04-11 14:07:31 -07:00
Brent Morrow
3ec7b87483
docs(guide/expression): wording changes
2013-04-11 14:03:52 -07:00
Luc Morin
63ce1f6265
docs(guide/directives): give more details about directive declaration
2013-04-11 14:00:09 -07:00
Colin Kahn
59eb96b9e4
docs(guide/filters): document multiple arguments syntax
...
Add example of using a filter with that accepts multiple arguments.
2013-04-11 13:55:03 -07:00
Brian Campbell
f24cf4b58f
docs(guide): updates for legacy IE7 support
...
- note re: id="ng-app" to bootstrap/IE partials
- added doctype/xmlns to markup
- add cond comment re: json2/3 to markup
2013-04-11 13:00:10 -07:00
Heath Matlock
d90a79632d
docs(concespts): correct spelling and remove unnecessary word
2013-04-06 22:56:54 +02:00
Felipe Lahti
04cc1d2890
docs(guide): add missing closing div tag
2013-03-29 23:30:37 +01:00
Felipe Lahti
7d4a3210f0
docs(guide): fix typo in DI. angualar -> angular
2013-03-29 23:25:58 +01:00