Igor Minar
b6b504b04c
docs(misc/faq): remove obsolte t-shirt instructions
2013-06-28 11:27:32 -07:00
Adam
bad9d1b71f
docs(guide/e2e-testing): clarify description of input(name) selector
...
The description of the input selector made it seem that you were selecting
an input element based upon it's name attribute. In reality, you are
selecting an element by the string in the ng-model attribute.
2013-06-27 20:45:53 +01:00
Nelson Blaha
d57613cd6d
docs(tutorial): add experiment showing reverse sort
2013-06-27 19:36:26 +01:00
Jeffrey Palmer
f810940600
docs(guide/controller): fix an error in the scope inheritance example
...
The chained scope creation example at the bottom of this document was using the childCtrl to create the babyScope, instead of the childScope.
2013-06-25 23:54:17 +01:00
Pete Bacon Darwin
73f8112032
fix(doc-gen): correctly transform index files
...
Closes #3021
2013-06-25 21:17:36 +01:00
Domenic Denicola
00d890c07a
docs(guide/expression): remove reference to NullPointerException
2013-06-25 21:13:32 +01:00
Chirayu Krishnappa
99e85fc9b5
fix(docs): set ng-app for editing with plunker
...
Closes #3011
2013-06-21 12:28:34 -07:00
NimaVaziri
3621896e9d
docs(cookbook/helloworld): display "World" if no name is entered
2013-06-20 14:39:16 +01:00
Michał Gołębiowski
f1b94b4b59
feat(jqLite): switch bind/unbind to more recent jQuery on/off
...
jQuery switched to a completely new event binding implementation as of
1.7.0, centering around on/off methods instead of previous bind/unbind.
This patch makes jqLite match this implementation while still supporting
previous bind/unbind methods.
2013-06-19 20:53:24 +01:00
sarkasm
0bfa29377d
docs(directive): fix typo
2013-06-19 11:50:47 +01:00
gdi2290
db8d8f9a43
docs(tutorial): add missing 'node' command and <code> tags
2013-06-18 22:05:28 +01:00
John Bohn
8b81cf202b
docs(tutorial/step_07): add commas make tutorial read more clearly
2013-06-18 21:56:53 +01:00
Matias Niemelä
bf7ec4bbb1
chore(ngdocs): change minimum search length requirement
2013-06-18 09:40:13 -04:00
Matias Niemelä
f6be59c1b9
chore(ngdocs): provide test code for lunr search in docs
2013-06-18 09:37:29 -04:00
Matias Niemelä
46dfb92afd
feat(ngdocs): provide support for user to jump between different versions of the angularjs documentation
2013-06-17 22:17:44 -07:00
Matias Niemelä
ef22968810
feat(ngdocs): support popover, foldouts and foldover annotations
2013-06-17 22:00:54 -07:00
Matias Niemelä
cec4ce28b9
chore(ngdocs): allow user to press escape key to close docs search
2013-06-17 21:23:22 -07:00
Ore Landau
cd3dd13425
docs(guide/di): fix headings hierarchy
2013-06-13 22:50:57 +01:00
Jad Naous
a2d4b5c5d8
docs(guide/e2e-testing): fix verb tense
2013-06-13 22:37:19 +01:00
Ore Landau
5ec188f697
docs(tutorial/step_05): apply more useful link to services
2013-06-13 21:14:06 +01:00
Pete Bacon Darwin
a4c3b06807
docs(guide/bootstrap): clarify manual bootstrapping
2013-06-12 20:40:07 +01:00
Pete Bacon Darwin
86f3e41dfe
chore(docs/writer): fix Windows path incompatibilities
...
NodeJS on Windows uses back slashes for path separators. This
difference can be mitigated by use of the nodeJS path library.
In particular the `sep` property and the `dirname()`, `normalize()`
and `join()` methods of this library. All path based arguments on
exported functions need to be normalized and `join` and `sep` must
be used instead of string manipulation to work with paths.
2013-06-12 20:02:45 +01:00
Igor Minar
6c66315494
chore(docs): fix memory leak in example embed code
...
we need to sever the link between the main root scope and the example
root scope - this is only needed because we are embedding one app
in the other.
2013-06-10 13:14:26 -07:00
Igor Minar
b700aa9291
docs(faq): update customink order info
2013-06-10 11:39:01 -07:00
Matias Niemelä
0317fd1651
chore(ngdocs): expose showdown.js to docs pages and docs testing suite
2013-06-06 22:58:56 -07:00
Matias Niemelä
f56125d94e
chore(ngdocs): setup bower as the package manager for the docs pages
2013-06-06 22:58:55 -07:00
Matias Niemelä
4949586a76
fix(ngdoc): fix the node warnings that show up during build
2013-06-06 22:13:43 -07:00
Igor Minar
65f5e856a1
chore(ngdoc): fix deprecated node api path.existsSync -> fs.existsSync
2013-06-06 17:08:50 -07:00
Igor Minar
5599b55b04
refactor($route): pull $route and friends into angular-route.js
...
$route, $routeParams and ngView have been pulled from core angular.js
to angular-route.js/ngRoute module.
This is was done to in order keep the core focused on most commonly
used functionality and allow community routers to be freely used
instead of $route service.
There is no need to panic, angular-route will keep on being supported
by the angular team.
Note: I'm intentionally not fixing tutorial links. Tutorial will need
bigger changes and those should be done when we update tutorial to
1.2.
BREAKING CHANGE: applications that use $route will now need to load
angular-route.js file and define dependency on ngRoute module.
Before:
```
...
<script src="angular.js"></script>
...
var myApp = angular.module('myApp', ['someOtherModule']);
...
```
After:
```
...
<script src="angular.js"></script>
<script src="angular-route.js"></script>
...
var myApp = angular.module('myApp', ['ngRoute', 'someOtherModule']);
...
```
Closes #2804
2013-06-06 17:07:12 -07:00
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
Siddique Hameed
ef5c874415
docs(index): make menu links relative
...
Before the Develop drop down menu items were hard coded with an absolute url,
which meant that they did not work correctly on local or ci server builds.
2013-06-04 21:08:29 +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
Lucas Galfasó
c38073667d
chore(docs): add reference to the blog
...
Add a reference to the blog at the documentation.
2013-05-30 23:43:27 -07:00
Matias Niemelä
21c70729d9
feat(ngdocs): provide support for inline variable hinting
2013-05-30 21:42:41 -07: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
Eddie Monge
18f14117de
style(docs/template): add in missing semicolons
...
Add semicolons where they were missing in the docs section per Google
code styling guide.
Closes #2736
2013-05-22 22:51:16 +01:00
Jens Rantil
9d19b512e0
docs(guide/directive): clarify directive priority
...
Fixes #2644 .
2013-05-22 21:09:20 +01:00
Matias Niemelä
5bc2836a0d
docs(tutorial): fix the float issue with the improve docs button
2013-05-21 14:02:19 +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
Igor Minar
d458d7350b
chore(package.json): kill version.yaml in favor of package.json
...
all versioning info is now in package.json and that's where the build scripts read it from
2013-05-21 03:39:36 -07:00
Matias Niemelä
5a34464198
fix(ngdocs): fix gen_docs.sh
2013-05-20 14:39:02 -07:00
Matias Niemelä
5f92d4144e
fix(ngdocs): provide test code for syntax links in docs and fix the syntax directive for IE8
2013-05-20 14:33:11 -07:00
Matias Niemelä
2f571a9c83
chore(ngdocs): move angular-bootstrap.js to be generated only inside the docs and remove from the build process
2013-05-20 14:27:34 -07: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
Andrew Vida
1c7741329f
docs(tutorial): update test config file name
2013-05-18 20:29:17 +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
Igor Minar
8f69ffce47
chore(docs): fix syntax error in docs.css
2013-05-16 16:39:13 -07:00
Matias Niemelä
3a49b7eec4
feat(ngdocs): Add FullText search to replace Google search in docs
2013-05-16 16:17:46 -07: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
Matias Niemelä
c8197b44eb
feat(ngdocs): external links to github, plunkr and jsfiddle available for code examples
2013-05-13 16:55:14 -07:00
Matias Niemelä
b6e5972eb3
chore(ngdocs): update to new version of FontAwesome
2013-05-13 16:55:14 -07: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
Pete Bacon Darwin
40c36ee7fe
docs(tutorial): add comment about injection annotation
...
Closes : #1163
2013-05-09 13:56:36 +01:00
Matias Niemelä
11f712bc3e
chore(ngAnimate): CSS classes X-setup/X-start -> X/X-active
...
BREAKING CHANGE: css classes foo-setup/foo-start become foo/foo-active
The CSS transition classes have changed suffixes. To migrate rename
.foo-setup {...} to .foo {...}
.foo-start {...} to .foo-active {...}
or for type: enter, leave, move, show, hide
.foo-type-setup {...} to .foo-type {...}
.foo-type-start {...} to .foo-type-active {...}
2013-05-08 16:03:31 -07:00
Matias Niemelä
404c9a653a
feat(ngdocs): add variable type hinting with colors
2013-05-08 15:25:56 -07:00
Igor Minar
5137a15417
chore(docs): use done() in gen-docs.js
2013-05-08 07:57:34 -07: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
Matias Niemelä
b3a62b2e19
feat(ngdocs): support for HTML table generation from docs code
2013-04-29 17:43:14 -04:00
Anton
8a59d8668c
docs(contribute): add Java as dependency
...
Current build process leverages closure jar for javascript minification.
If Java is not installed and included in the PATH the build will fail.
2013-04-28 18:37:24 +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
Tyler Akins
59c29e320a
chore(ngDoc): fix a typo with IE warning
2013-04-19 21:56:39 +01: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
59bfe8e5a9
docs(tutorial): testacular renamed to karma
...
Replaced instances of 'Testacular' with 'Karma' to reflect name change of test runner.
Replaced instances of 'http://vojtajina.github.com/testacular ' with 'http://karma-runner.github.io/ ' to reflect dedicated page for Karma Test Runner.
Added location of config file needed to start the Karma server. This is still labeled 'testacular.conf.js' and needs file name to be updated in the phone example repo.
2013-04-15 12:28:31 +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
uberspeck
b7b08eed02
docs(faq): added note to FAQ re: legacy IE support
2013-04-12 15:58:29 -07:00
Matias Niemelä
3c3247fe17
fix(ngdocs): improve the animations used in the docs menu
2013-04-11 23:06:07 -07:00
Misko Hevery
a0bc71e271
fix(ngRepeat): prevent initial duplicates
2013-04-11 23:06:07 -07: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
Matias Niemelä
19f1801379
docs: add animations into docs and directive examples
2013-04-03 17:40:15 -07:00
Matias Niemelä
2845dd1590
feat(ngdocs): added functionality to import and extract contents of external files inside docs comment code
2013-04-02 15:52:32 -07:00
Misko Hevery
0b6f1ce5f8
feat(ngAnimate): add support for animation
2013-04-02 14:05:06 -07: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
Srinivas Kusunam
53abd3fba7
docs(directive): fix typo
2013-03-29 23:22:02 +01:00
Pascal Borreli
9480136d9f
docs(*): fixed typos
2013-03-29 23:14:55 +01:00
James deBoer
364e597499
Update forms.ngdoc
...
docs(forms): Fixed a typo. render -> $render
2013-03-24 23:11:36 -07:00
Arlen Christian Mart Cuss
fe4f0ea262
docs(directive): Fix entity confusion in example.
2013-03-19 10:53:46 -07:00
Shyam Seshadri
f197e391c1
feat(docs): Add Improve this doc link in each doc page, which links to the edit mode of that file in github
2013-03-15 20:56:13 -07:00
Igor Minar
9428338e97
chore(docs): add angular-mobile.js to index.html
2013-03-13 23:01:16 -07:00
Niel de la Rouviere
69ef17cce9
docs(directive): minor typo fix
...
Changed "obeject" to "object"
2013-03-08 23:26:41 +01:00
Dave Geddes
485f104099
docs(contribute): add note about running command line as admin on win
2013-03-06 14:54:35 -08:00
Dave Geddes
79b51d5b57
chore(Grunt): switch from Rake to Grunt
...
Migrates the Angular project from Rake to Grunt.
Benefits:
- Drops Ruby dependency
- Lowers barrier to entry for contributions from JavaScript ninjas
- Simplifies the Angular project setup and build process
- Adopts industry-standard tools specific to JavaScript projects
- Support building angular.js on Windows platform (really?!? why?!?)
BREAKING CHANGE: Rake is completely replaced by Grunt. Below are the deprecated Rake tasks and their Grunt equivalents:
rake --> grunt
rake package --> grunt package
rake init --> N/A
rake clean --> grunt clean
rake concat_scenario --> grunt build:scenario
rake concat --> grunt build
rake concat_scenario --> grunt build:scenario
rake minify --> grunt minify
rake version --> grunt write:version
rake docs --> grunt docs
rake webserver --> grunt webserver
rake test --> grunt test
rake test:unit --> grunt test:unit
rake test:<jqlite|jquery|modules|e2e> --> grunt test:<jqlite|jquery|modules|end2end|e2e>
rake test[Firefox+Safari] --> grunt test --browsers Firefox,Safari
rake test[Safari] --> grunt test --browsers Safari
rake autotest --> grunt autotest
NOTES:
* For convenience grunt test:e2e starts a webserver for you, while grunt test:end2end doesn't.
Use grunt test:end2end if you already have the webserver running.
* Removes duplicate entry for Describe.js in the angularScenario section of angularFiles.js
* Updates docs/src/gen-docs.js to use #done intead of the deprecated #end
* Uses grunt-contrib-connect instead of lib/nodeserver (removed)
* Removes nodeserver.sh, travis now uses grunt webserver
* Built and minified files are identical to Rake's output, with the exception of one less
character for git revisions (using --short) and a couple minor whitespace differences
Closes #199
2013-03-05 23:00:33 -08:00
Luis Ramón López
eb53423a41
feat($compile): support for dynamic template generation
...
`template` and `templateUrl` properties can now be optionally defined
via a function. This allows templates to be dynamically generated on
the fly.
2013-02-27 17:57:59 -08:00
Luis Ramón López
cf17c6af47
feat($compile): add attribute binding support via ngAttr*
...
Sometimes is not desirable to use interpolation on attributes because
the user agent parses them before the interpolation takes place. I.e:
<svg>
<circle cx="{{cx}}" cy="{{cy}}" r="{{r}}"></circle>
</svg>
The snippet throws three browser errors, one for each attribute.
For some attributes, AngularJS fixes that behaviour introducing special
directives like ng-href or ng-src.
This commit is a more general solution that allows prefixing any
attribute with "ng-attr-", "ng:attr:" or "ng_attr_" so it will
be set only when the binding is done. The prefix is then removed.
Example usage:
<svg>
<circle ng-attr-cx="{{cx}}" ng-attr-cy="{{cy}}" ng:attr-r="{{r}}"></circle>
</svg>
Closes #1050
Closes #1925
2013-02-27 00:55:40 -08:00
Jørgen Borgesen
753fc9e58d
feat(JQLite): ready() now supports document.readyState=='complete'
...
JQLite.ready() used for automatic bootstrapping (when jQuery is not present)
now checks if document already is ready when first called. This simplifies
bootstrapping when the angular script is loaded asynchronously.
However if other scripts with angular app code are being loaded as well
it is developers responsibility to ensure that these scripts are loaded
after angular-loader.js is evaluated and before angular.js script is
evaluated.
2013-02-25 15:32:14 -08:00
Vineet Kumar
6a612df7de
docs(guide/directives): update obsolete doc reference
...
Replace an obsolete reference to a nonexistent "Creating Widgets"
section with a real link to "Creating Components".
2013-02-25 14:51:52 -08:00
Luis Ramón López
ac899d0da5
feat($compile): '=?' makes '=' binding optional
...
If you bind using '=' to a non-existant parent property, the compiler
will throw a NON_ASSIGNABLE_MODEL_EXPRESSION exception, which is right
because the model doesn't exist.
This enhancement allow to specify that a binding is optional so it
won't complain if the parent property is not defined. In order to mantain
backward compability, the new behaviour must be specified using '=?' instead
of '='. The local property will be undefined is these cases.
Closes #909
Closes #1435
2013-02-25 14:30:54 -08:00
Dylan Pyle
7c6b1e06e8
docs(guide): fix some invalid javascript in directive documentation
...
Use double quotes to maintain consistency with other HTML
2013-02-14 15:11:04 -08:00
Jesse Cooke
f3231b9447
docs(guide): Fix typos in concepts/model,view.
2013-02-14 13:05:25 -08:00
Igor Minar
42a5033c56
chore(docs): improve docs parser type
...
previously we barfed on function type definition with optional arguments
like {function(number=)}
this fixes it
I also added a bunch of code that helps to debug incorrectly parsed docs.
2013-02-11 14:08:16 -08:00
Igor Minar
bec4435945
docs(guide): remove stale info about filters changing DOM
...
as of v0.10.6 this is not the case any more
2013-02-06 14:14:49 -08:00
Thomas Schultz
6fb1054ce6
docs(tutorial): remove extra back-tick character
2013-02-06 21:51:42 +01:00
theotheo
a83eced974
docs(module): fix code example
2013-02-06 20:40:06 +01:00
Igor Minar
d8e242418d
docs(contributing): add CLA anchor for deeplinking
2013-02-04 09:38:01 -08:00
radu
5d0f9ce4c7
docs(tutorial): fix typo
...
Update docs/content/tutorial/step_00.ngdoc
removed redundant verb
2013-01-29 15:46:32 -08:00
Will Moore
d30845a757
docs(contribute): adding npm install to step-by-step
...
npm install is listed in the dependencies section of the contribute guide but
is missing from the step-by-step. This adds it as step 4.
2013-01-18 21:33:10 -08:00
Amir H. Hajizamani
4f5583465a
docs(cookbook): change prototype methods to scope methods in Buzz
...
As explained in 'Understanding the Controller Component', Controllers
written for new (post 1.0 RC) versions of Angular need to add methods to
the scope directly, not the function's prototype. Correcting this
example should remove any ambiguity, especially for beginners.
2013-01-18 00:49:41 -05:00
Amir H. Hajizamani
75487ec933
docs(guide): change prototype methods to scope methods in DI examples
...
As explained in 'Understanding the Controller Component', Controllers
written for new (post 1.0 RC) versions of Angular need to add methods to
the scope directly, not the function's prototype. Correcting this
example should remove any ambiguity, especially for beginners.
2013-01-18 00:49:41 -05:00
Shai Reznik
69e4d40a76
doc(guide): Fixed typos at the unit tests guide
2013-01-17 23:43:13 -05:00
Shai Reznik
d521619c58
doc(guide): Fix examples of $location.html5mode
2013-01-17 23:43:13 -05:00
Daniel Demmel
8b44324814
docs: recommend using Google CDN
2013-01-17 16:52:05 -08:00
Matt Rohrer
93070f1488
docs(guide): minor grammar fixes
2013-01-17 19:10:46 -05:00
Igor Minar
78699c62ea
chore(docs): use done() instead of end() in gen-docs.js
2013-01-17 00:51:56 -08:00
Lucas Galfasó
c0cb9f8c14
doc(directive): Fix typos in dialog widget
...
Fixes #1799
2013-01-13 10:08:19 +00:00
naomiblack
037aefae47
Update docs/content/misc/faq.ngdoc
...
Updated the canonical video to a recent one. Fixed a typo.
2013-01-09 09:49:44 +00:00
kim lokoy
2b0978b07c
docs(guide): fix typos in unit test guide
2013-01-07 21:01:01 +01:00
Pawel Kozlowski
1122dc7a5b
docs(forms): fix code example for a custom form control
...
Closes #1021
2013-01-05 22:47:36 +01:00
naomiblack
a3a9d4af05
docs(faq): add info on logo reuse and how to get t-shirts and stickers
2013-01-04 18:59:11 +01:00
Matt Hardy
8d42ce8563
docs(guide): change example controller to properly call greet method on greeter
2012-12-31 12:49:51 +01:00
John Fletcher
6aac69039e
docs(guide): minor English corrections to the Directive guide
2012-12-19 20:35:31 +01:00
Miško Hevery
1e13544da8
docs(directive): old syntax
2012-12-18 20:38:43 -08:00
ggoodman
25e1ad9a94
feat(docs): Add angularjs tag to plunks and make private
...
This is a minor edit to allow Plunks created by way of the docs.angularjs.org site to be appropriately tagged as `angularjs`.
Also, make these generated Plunks private by default.
2012-12-11 19:04:46 +00:00
Romain Neutron
a66c968df2
docs(guide): fix injector service code example
...
Fix syntax and update code to the latest API
2012-12-10 23:19:20 +01:00
Eric Case
d93533812b
docs(tutorial): typo fix commandx -> command
2012-12-08 11:33:07 +01:00
János Rusiczki
c52bfd37ee
doc(concepts): Fix typo in $render() function
2012-12-07 10:03:58 +00:00
Daniel Luz
5f7054bf5d
docs(directive): correct expression, fix typo and re-wrap lines
2012-11-29 19:40:33 +01:00
Johannes Hansen
cf4ed8a145
fix(docs): add missing </div> tag to sourceEdit directive template
2012-11-29 19:40:30 +01:00
Igor Minar
d1e48fcbf3
docs(menu): fix the navbar drop down links
2012-11-28 23:56:09 +01:00
Kris Jenkins
b21f4a376d
docs(): Fix a couple of typos in the documentation
2012-11-21 23:06:59 +01:00
Dave Clayton
f28f283fcf
docs(guide/concepts): some typo/grammar fixes
2012-11-17 23:55:32 +01:00
John Hume
e362a510e3
docs(guide/directive): fix typo
2012-11-17 23:49:19 +01:00
Jamison Dance
cd8b78ebfd
docs(guide): fix run-on sentence in modules guide
2012-11-11 11:34:06 +01:00
Jamison Dance
8891757891
docs(tutorial): change module name in step-7
2012-11-11 11:34:06 +01:00
Tim Macfarlane
e9253a88b9
docs(guide/directive): fix names in scope '='; easier to grok
2012-11-11 11:20:24 +01:00
Igor Minar
8650843603
chore(docs): fix docs-scenario.html
2012-11-11 10:31:27 +01:00
Igor Minar
e034fa08a8
chore(docs): remove obsolete gae files
2012-11-11 10:31:27 +01:00
Miško Hevery
c6b4ab3548
Update docs/content/guide/directive.ngdoc
...
docs(directive): fix typo
2012-11-05 19:34:20 -08:00
Sudhir Jonathan
b429f538a3
chore(testacular): use local testacular version
...
Making testacular a dependency to avoid having to install it globally.
(Causes npm issues on some machines)
2012-10-31 16:47:28 -07:00
Fred Sauer
3a624a7ff5
docs(guide/location): fix table formatting
...
Fix table formatting so headings are bold, rows are separated by lines, and rows have :hover style
2012-10-31 14:47:53 -07:00
Tim Macfarlane
b32adb7dea
docs(module): fix typo in example
...
fixed example app, `simpleAppModule` should have been `myAppModule`.
2012-10-31 14:21:28 -07:00
Daniel Luz
fdf85bfd86
docs(contribute): fix task name for continuous testing
2012-10-31 13:12:49 -07:00
Igor Minar
090e5426ac
fix(docs): correctly generate filenames for plunkr/fiddle
...
previously examples like $http where broken because we would strip part of the
filename (http-hello.html -> http)
we really want to strip only the id suffix that we append to disambiguate
common filenames (like index.html) which appear in many examples.
2012-10-31 13:03:50 -07:00
Shyam Seshadri
7c67b2fb6a
feat(docs): add plunkr support
...
Add option to edit source in Angular Docs in Plunkr in addition to JsFiddle
2012-10-31 12:54:52 -07:00
Daniel Luz
3c9b39ff52
fix(doc): typo on FAQ
...
Closes #1493
2012-10-31 10:24:12 -07:00
Braden Shepherdson
f4517b500c
doc(faq): Add Common Pitfalls section
...
Describes several common pitfalls new users of Angular fall into that
I've observed in #angularjs.
2012-10-26 08:49:44 -07:00
Braden Shepherdson
f54edbbdd4
doc(faq): Fix minor spelling and wording errors
2012-10-26 08:49:44 -07:00
Igor Minar
cf78fb5661
docs(contribute): add CLA note to code submission section
2012-10-19 09:14:05 -07:00
Igor Minar
5c9eb75867
docs(contribute): add visible link to github project
2012-10-19 09:02:06 -07:00
Igor Minar
ca96ec32f9
docs(tutorial): replace JsTD with Testacular + drop snapshots
...
JsTD references have been replaced with Testacular stuff.
snapshots are PITA to maintain so I'm dropping them, everyone loves the Git
version anyway.
2012-10-18 02:33:45 -07:00
Misko Hevery
c96dc60594
fix(doc): disable directory listing in docs.angularjs.org
2012-10-05 16:43:01 -07:00
Igor Minar
b440ad36f3
docs(downloading): update the downloading docs
2012-10-05 03:13:51 -07:00
Vojta Jina
bcaa3bb373
docs: load angular from CDN only on production
...
So that when running the docs locally, eg. during e2e testing, we use the latest build version of angular, rather than the stable one from CDN.
This fixes e2e tests running with Testacular.
2012-09-17 18:08:16 -07:00
Igor Minar
20c116d9d5
docs(contribute): update contribute docs
2012-09-16 10:40:44 -07:00
Igor Minar
89dd566277
docs(contribute): update misc/contribute docs with Testacular info
2012-09-15 08:11:53 -07:00
Miško Hevery
5418564f04
docs(directive): remove reference to old isolation syntax
2012-09-13 11:31:06 -07:00
Brian Ford
f2ebfa16b0
docs(guide): fix directive interpolation example code
...
Closes #1339
2012-09-11 16:12:41 -07:00
Shyam Seshadri
ca30fce28c
fix(*): name all anonymous watch functions in Angular
...
This will allow us to see function names in Batarang and debugger.
Closes #1119
2012-09-06 16:06:25 -07:00
Misko Hevery
eb5fd400d3
docs(concept): correct example for creating injector
2012-09-06 16:06:23 -07:00
Godmar Back
0472c5f07e
docs(module): fixed module example and corrected typos
2012-09-06 16:06:23 -07:00
Jay Zeng
7079ff5eb6
docs(module): myAppModule -> simpleAppModule
2012-09-06 16:06:22 -07:00
Misko Hevery
99a000bac2
fix(docs): broken url to angular-bootstrap
2012-09-04 18:15:00 -07:00
Igor Minar
b8fac353f0
chore(docs): don't rewrite colons in doc filenames
2012-09-04 11:11:09 -07:00
Fernando Correia
acb499f820
docs(tutorial): correct typos and clarify a few sections
2012-08-30 22:19:34 -07:00
brettcannon
1b34c6d558
doc(misc) Mention how attribute names map to directive names.
2012-08-30 22:09:16 -07:00
Sahat Yalkabov
62cfedbe0c
doc(module) changed simpleApp to myApp in the Module page guide for consistency
2012-08-30 16:10:39 -07:00
Steve Nicolai
5cb7297a08
doc(devguide) - Fix typos and small grammatical errors in the developer guide.
2012-08-30 16:02:24 -07:00
Igor Minar
0f05516d14
chore(docs): ask GAE to serve docs-keywords.js
2012-08-30 15:58:55 -07:00
Uri Goldshtein
f5f1200f25
Loading from Google CDN
...
As you guys had mansion, we can and need to do it through Google CDN for better performance,
so i've updated it accordingly
2012-08-30 15:49:11 -07:00
Tyson Benson
c023c850c3
docs(typos): fix typos in dev guide
2012-08-30 15:43:58 -07:00
phil
14c8f6a7ca
docs(api): fix typo on home page
...
Refference -> Reference
2012-08-30 15:31:29 -07:00
csugden
351deb555f
Update docs/content/guide/overview.ngdoc
...
Corrects video information
2012-08-30 15:28:15 -07:00
Jamie Krug
847d2da0f8
fix(docs): Fix typos and improve grammar.
2012-08-30 15:25:21 -07:00
Jamie Krug
dbefd671e4
fix(docs): Fix bad links.
2012-08-30 15:25:20 -07:00
Colin Frei
aff68a9ddf
docs(module) fix typo
2012-08-30 15:22:08 -07:00
Igor Minar
8693eac417
chore(docs): correctly link docs images
2012-08-30 02:26:35 -07:00
Igor Minar
d6706efe7f
chore(docs): use symlinks to build docs
...
so that we can just edit source files without rebuilding docs.
this works for all docs files, except for those that are generated
or rewritten during build.
2012-08-28 16:06:50 -07:00
Misko Hevery
7a5f25f667
doc(guide): add concepts
2012-08-27 15:44:38 -07:00
Misko Hevery
96697f464f
fix(ngdoc): failing test
2012-08-27 15:44:38 -07:00
Colin Frei
7e18724dfa
doc(directive) correct typos
2012-08-27 15:01:50 -07:00
Misko Hevery
bf8ed8a532
doc(misc) updated getting started to reflect the new homepage
2012-08-27 14:59:18 -07:00
Misko Hevery
d05a2809a1
doc(guide) simplify the guide home page
2012-08-27 14:59:17 -07:00
Igor Minar
f7ac8ef97a
chore(docs): support _escaped_fragment_ hack for crawler
2012-08-25 02:30:55 -07:00
Igor Minar
4a4b28dbf3
chore(docs): use GAE and Google CDN for docs
...
Short summary: if you use local node server everything should work as before,
if you use GAE, everything should work now as well, but we pull assets from CDN.
- GAE doesn't support ':' in filenames, so I had to replace it with '_'
but only in the filename, all servers were reconfigured to rewrite the
urls from : to _ when doing file lookup
- We now pull angular assets from google CDN when deployed on GAE (locally
or in production). When running on a non GAE server we pull assets from
../ directory as before
- Since only certain versions of Angular are available on CDN and we want
to be able to autodeploy docs, I had to pin down the Angular files
to a "stable" version when running on GAE
2012-08-24 14:54:35 -07:00
phil
f7b4296c38
docs(tutorial): fix typo in step_00
...
Just removed an extra comma. No big deal.
2012-08-23 01:02:28 -07:00
Igor Minar
cab5e1d9b3
fix(docs): update docs top menu links
2012-08-16 11:26:36 -07:00
Vojta Jina
00683a8bbb
docs: fix broken links to $compileProvider.directive()
2012-08-12 10:44:29 -07:00
Brian Ford
e05a97c6f5
chore(ngDoc): add support for custom @usage metadata
2012-08-10 16:33:13 -07:00
Brian Ford
2e3651686c
fix(docs): added note about using JSON3 as a polyfill for IE7
2012-08-10 16:27:44 -07:00
Brian Ford
536de14821
fix(docs): added note about needing JSON shim for IE7 and earlier
2012-08-10 16:27:44 -07:00
Igor Minar
54e4a6ffbf
docs(faq): update faq docs
2012-08-07 10:15:54 -07:00
Igor Minar
eee9a51fad
docs(styles): fix the cog icon alignment
2012-08-06 16:54:18 -07:00
Vojta Jina
33ad2b4126
docs(guide): hide scenario for directive example
...
scenario test for this example would be tricky, we need to teach
the runner how to inject mocks first.
2012-07-30 21:21:34 -07:00
Vojta Jina
b84eaffd39
docs: fix icons
...
Copy fontawesome during build
2012-07-30 21:20:28 -07:00
brettcannon
a1107e81eb
fix(docs): "in depth" -> "in-depth"
2012-07-20 20:54:42 -07:00
brettcannon
5ef9ed87d8
fix(docs): Capitalize Angular.
2012-07-19 15:23:21 -07:00
brettcannon
8c81a0f372
fix(docs): Fix a spelling mistake by replacing the noun with "it"
2012-07-19 15:04:29 -07:00
brettcannon
bde931afd5
fix(docs): "were" -> "where"
2012-07-19 11:28:19 -07:00
brettcannon
6553fe68d1
fix(docs): Capitalize "URL".
2012-07-19 11:05:38 -07:00
Chris Dawson
13b5fd1b9d
fix(docs): Fixed defer to timeout change in timer directive example
2012-07-19 10:04:22 -07:00
Chris Dawson
17209d5b4a
fix(docs): Spelling errors
2012-07-19 10:01:50 -07:00
brettcannon
6f9a5721bc
fic(docs): Consistently use __bold__ for things that must be done when moving the ng-controller declaration.
2012-07-19 09:57:58 -07:00
brettcannon
31c825607d
fix(docs): Tweak some grammar and add some links relating to DI.
2012-07-19 09:54:53 -07:00
brettcannon
ab6937e251
fix(docs): Capitalize "APIs"
2012-07-19 09:49:44 -07:00
brettcannon
fbfda241f6
fix(docs): Capitalize "Angular".
2012-07-19 09:35:43 -07:00
brettcannon
206371b737
fix(docs): Capitalize Angular.
2012-07-19 09:26:34 -07:00
brettcannon
b6b92bd866
fix(docs): Add a missing "the".
2012-07-19 09:09:52 -07:00
brettcannon
79f2d843a8
fix(docs): ngRepeater isn't a thing, ngRepeat is
2012-07-19 09:04:59 -07:00
brettcannon
64a9cd8f4f
fix(docs): Remove a redundant "in".
2012-07-19 09:02:04 -07:00
brettcannon
7f6e1326f3
fix(docs): Grammatical fix
2012-07-18 15:48:08 -07:00
brettcannon
1fd2b3d402
fix(docs): Fixed some awkward wording
2012-07-18 15:42:29 -07:00
brettcannon
d56d69cc83
fix(docs): Tweak formatting and wording of a list
2012-07-18 15:20:38 -07:00
brettcannon
01e726b2fa
fix(docs): Don't want the present participle of "is"
2012-07-18 15:15:09 -07:00
brettcannon
1613621645
fix(docs): Adjectve accidentally made into an adverb
2012-07-18 12:16:14 -07:00
brettcannon
92a3d28218
fix(docs): Minor grammatical fix
2012-07-18 11:52:57 -07:00
Rishabh Rao
4c58501956
fix(docs): Fixed typo: changed ngRepeate to ngRepeat.
2012-07-16 12:33:19 -07:00
Jamie Krug
c076fe08cf
fix(docs): Fix spelling, punctuation and grammatical errors on dev guide bootstrap page.
2012-07-16 12:10:43 -07:00
Jamie Krug
2473412ba5
fix(docs): Fix spelling, punctuation and grammatical errors on dev guide compiler page.
2012-07-16 12:10:42 -07:00
Jamie Krug
1f2d50000e
fix(docs): Fix spelling, punctuation and grammatical errors on dev guide overview page.
2012-07-16 12:10:33 -07:00
Kevin Old
5026315d6f
fix(docs): correct typo
2012-07-16 11:40:21 -07:00
Igor Minar
f0a090ddf2
fix(docs): correctly generate sitemap
2012-07-02 08:21:19 -07:00
Igor Minar
6d9313a68d
fix(docs): fix broken ng-docs specs
2012-07-02 08:21:19 -07:00
Misko Hevery
ad5d2f2991
fix(doc) firefox icon rendering
2012-06-15 10:40:25 -07:00
Igor Minar
9af7a9198e
fix($defer): remove deprecated $defer service
2012-06-12 01:09:07 -07:00
Igor Minar
d9ff5fd432
fix(docs): migrate from $defer to $timeout
2012-06-12 00:11:04 -07:00
Igor Minar
f16150d5f1
docs(*): simplify doc urls
...
we now have two types of namespaces:
- true namespace: angular.* - used for all global apis
- virtual namespace: ng.*, ngMock.*, ... - used for all DI modules
the virual namespaces have services under the second namespace level (e.g. ng.)
and filters and directives prefixed with filter: and directive: respectively
(e.g. ng.filter:orderBy, ng.directive:ngRepeat)
this simplifies urls and makes them a lot shorter while still avoiding name collisions
2012-06-12 00:10:18 -07:00
Igor Minar
5d70e4a89c
docs(*): fix various outdated docs and examples
...
Closes #1030
2012-06-10 09:01:42 -07:00
Igor Minar
b5bba65a93
docs($location): clarify the two-way data-binding note
...
Closes #1030
2012-06-09 06:57:55 -07:00
Misko Hevery
c3a41ff9fe
feat($compile): simplify isolate scope bindings
...
Changed the isolate scope binding options to:
- @attr - attribute binding (including interpolation)
- =model - by-directional model binding
- &expr - expression execution binding
This change simplifies the terminology as well as
number of choices available to the developer. It
also supports local name aliasing from the parent.
BREAKING CHANGE: isolate scope bindings definition has changed and
the inject option for the directive controller injection was removed.
To migrate the code follow the example below:
Before:
scope: {
myAttr: 'attribute',
myBind: 'bind',
myExpression: 'expression',
myEval: 'evaluate',
myAccessor: 'accessor'
}
After:
scope: {
myAttr: '@',
myBind: '@',
myExpression: '&',
// myEval - usually not useful, but in cases where the expression is assignable, you can use '='
myAccessor: '=' // in directive's template change myAccessor() to myAccessor
}
The removed `inject` wasn't generaly useful for directives so there should be no code using it.
2012-06-08 15:50:13 -07:00
unknown
a57141fd1d
docs(guide): correct couple of typos
2012-06-04 18:46:09 -07:00
Misko Hevery
ddefb42445
doc(app): switch to use $last on ng-repeat
2012-06-02 16:02:09 -07:00
Misko Hevery
676d6e0040
doc(app): remove un-needed file
2012-06-02 16:02:09 -07:00
Misko Hevery
8024a5742c
doc(NgModelController) add example and $render documentation
...
Closes#930
2012-06-02 16:02:09 -07:00
Misko Hevery
073e76f835
doc(guide): corrected examples
2012-06-02 16:02:09 -07:00
Misko Hevery
7019f142ab
merge cleanup
2012-06-02 16:02:09 -07:00
Misko Hevery
0532aabcf9
doc(guide): clean up broken links
2012-06-02 16:02:08 -07:00
Misko Hevery
f0be543614
doc(ngdoc): clean up doc generation and add missing documentation links
2012-06-02 16:02:08 -07:00
Misko Hevery
a3a37c2063
doc(compiler): rewrite
2012-06-02 16:02:08 -07:00
Misko Hevery
0f5259c5a2
docs(introduction): rename
2012-06-02 16:02:08 -07:00
Misko Hevery
321a4a6b1f
doc(i18n): rename
2012-06-02 16:02:08 -07:00
Misko Hevery
41d26db32c
docs(expression): rewrite
2012-06-02 16:02:08 -07:00
Misko Hevery
dd38ce6585
docs(scope): rewrite
2012-06-02 16:02:07 -07:00
Misko Hevery
2e90cdc3d4
docs(dependency injecton): rewrite
2012-06-02 16:02:05 -07:00
Misko Hevery
581f93ae56
docs(ngdocs): cleaned up directive titles
2012-06-02 16:02:05 -07:00
Misko Hevery
6933fb7924
docs(bootstrap): rewritten bootstrap guide
2012-06-02 16:02:05 -07:00
Misko Hevery
f5afcca99d
docs(overview): updated overview guide
2012-06-02 16:02:04 -07:00
Misko Hevery
2356c21650
doc(ngdoc): proper label for source and demo section
2012-06-02 16:02:04 -07:00
Misko Hevery
275e5335dc
fix(docs): include short words in keywords
...
Short words like $q are now searchable.
Closes #967
2012-06-02 15:44:58 -07:00
Misko Hevery
0a6e464a93
feat($route): rename template -> tempalteUrl and add support for inline templates
...
BREAKING CHANGE: template in $route definition is now templateUrl
To migrate just rename `template` to `templateUrl`.
2012-06-01 17:01:10 -07:00
Misko Hevery
7c24282188
chore($route): rename events
...
BREAKING CHANGE
rename $beforeRouteChange to $routeChangeStart
rename $afterRouteChange to $routeChangeSuccess
2012-06-01 16:57:49 -07:00
Misko Hevery
bbaf9a2870
fix(docs): accept return in addition to returns
...
documentation used @return but parser expected
@returns, which made the generated documentation
incomplete.
2012-05-24 13:48:42 -07:00
Misko Hevery
7e70463da1
chore(docs): remove generated file
2012-05-24 13:48:42 -07:00
Misko Hevery
4235ee9ad6
chore(docs): remove unused doc_widget.js file
2012-05-24 13:48:40 -07:00
Misko Hevery
3fdb29242b
chore(docs): correct spacings
2012-05-24 13:48:38 -07:00
Misko Hevery
aa02534865
bug(ie8 docs): docs now work on ie8
2012-05-07 15:43:09 -07:00
Misko Hevery
8e2675029f
chore(docs): re-skin main documentation
2012-05-04 16:12:17 -07:00
Igor Minar
075c089b5c
docs(tutorial): update all the remaining steps
...
I made some diagrams and portions of the text that are stil stale
invisible. We'll fix these in the next relese.
2012-04-30 01:08:15 -07:00
Vojta Jina
1214084e9d
docs(directive): fix transclusion examples
2012-04-21 21:08:30 +02:00
Chris Dawson
666f326c5d
docs(guide/controllers): update w/ controller scope separation
2012-04-20 10:57:26 -07:00
pkozlowski-opensource
908785960d
docs(guide/e2e): fix a link to e2e dsl
2012-04-20 10:49:44 -07:00
Igor Minar
2037facc99
docs(tutorial): update step-04 to v1.0
2012-04-12 02:45:12 -07:00
Igor Minar
b2d0a386f6
style(docs-scenario.html): rename <angular/> to AngularJS in the title
2012-04-12 02:36:03 -07:00
Igor Minar
6d7e7fdea6
fix($location): properly rewrite urls in html5 mode with base url set
...
previously we were doing all kinds of checks to see if we should rewrite the url or not and we
were missing many scenarios. not any more.
with this change, we rewrite the url unless:
- the href is not set
- link has target attribute
- the absolute url of the link doesn't match the absolute prefix for all urls in our app
This also means that ng-ext-link attribute which we previously used to distinguish external
links from app links is not necessary any more. apps can just set target=_self to prevent
rewriting.
BREAKING CHANGE: ng-ext-link directive was removed because it's unnecessary
apps that relied on ng-ext-link should simply replace it with target=_self
2012-04-12 02:36:03 -07:00
simpulton
c4f6ccb065
docs($compile): fixed typo
2012-04-11 23:48:53 -07:00
Vojta Jina
5bcd719866
chore(ngSanitize): extract $sanitize, ngBindHtml, linkyFilter into a module
...
Create build for other modules as well (ngResource, ngCookies):
- wrap into a function
- add license
- add version
Breaks `$sanitize` service, `ngBindHtml` directive and `linky` filter were moved to the `ngSanitize` module. Apps that depend on any of these will need to load `angular-sanitize.js` and include `ngSanitize` in their dependency list: `var myApp = angular.module('myApp', ['ngSanitize']);`
2012-04-11 15:50:47 -07:00
Igor Minar
e1743cc837
docs($compile): fix typo in the docs templateURL -> templateUrl
2012-04-11 11:23:48 -07:00
Vojta Jina
fcc556df37
docs(guide.forms): fix the forms dev guide to use ng-disabled
2012-04-10 13:42:17 -07:00
Igor Minar
ac2f0cece6
docs(tutorial): fix typos in steps 2 and 3
2012-04-10 06:04:13 -07:00
Igor Minar
82d90a4096
fix(docs): change all directive references to use the normalized names
2012-04-09 09:52:27 -07:00
Igor Minar
0f2de12273
chore(docs): add nonminified jquery debug version of docs
2012-04-05 11:33:42 -07:00
Igor Minar
53b2254ea7
docs(tutorial): update tutorial intro + steps 0-3
...
also contains all kinds of fixes that I had to make in the docs app to
get the tutorial to render correctly
2012-04-04 15:59:18 -07:00
Igor Minar
6336b6e89e
chore(docs): restore old tutorial ngdoc files
2012-04-04 15:59:18 -07:00
Igor Minar
fdf17d729f
fix(docs): remove ngModelInstant from all examples
...
just fixing leftover code after the removal of ngModelInstant
2012-04-04 15:56:15 -07:00
Vojta Jina
06d0955074
feat(ngModel): update model on each key stroke (revert ngModelInstant)
...
It turns out that listening only on "blur" event is not sufficient in many scenarios,
especially when you use form validation you always had to use ngModelnstant
e.g. if you want to disable a button based on valid/invalid form.
The feedback we got from our apps as well as external apps is that the
ngModelInstant should be the default.
In the future we might provide alternative ways of suppressing updates
on each key stroke, but it's not going to be the default behavior.
Apps already using the ngModelInstant can safely remove it from their
templates. Input fields without ngModelInstant directive will start propagating
the input changes into the model on each key stroke.
2012-04-03 10:10:44 -07:00
Brad Green
28ff7c3a66
Doc fixes in bootstrap
...
Now makes sense.
2012-04-03 07:07:49 -07:00
Igor Minar
fc52b81d52
fix(docs): update the example widget regexp for detecting angular.js url
...
so that we don't show angular-cookies instead of angular.js
2012-03-29 16:10:40 -07:00
Igor Minar
423242017e
fix(docs): properly rewrite urls in doc examples at docs-next
2012-03-29 16:10:40 -07:00
Misko Hevery
7b22d59b4a
chore(ngCookies): moved to module
2012-03-28 11:16:36 -07:00
Misko Hevery
798bca62c6
chore(resource): moved to module
2012-03-28 11:16:36 -07:00
Brad Green
944098a4e0
Updated manual bootstrap document
...
Explained why you'd want to manually bootstrap, added contrasting
example for automatic vs manual methods.
2012-03-27 18:06:00 -07:00
Brad Green
2ce0485e6f
Rewrite of Automatic Initialization doc
...
Added examples, explained the reasons why you initialize the whole app
or parts of the page.
2012-03-27 08:28:34 -07:00
Vojta Jina
a08cbc02e7
feat($compile): do not interpolate boolean attributes, rather evaluate them
...
So that we can have non string values, e.g. ng-value="true" for radio inputs
Breaks boolean attrs are evaluated rather than interpolated
To migrate your code, change: <input ng-disabled="{{someBooleanVariable}}">
to: <input ng-disabled="someBooleanVariabla">
Affected directives:
* ng-multiple
* ng-selected
* ng-checked
* ng-disabled
* ng-readonly
* ng-required
2012-03-26 21:14:09 -07:00
Mykhailo Kotsur
5c5b1183c8
docs(guide/module): fix syntax error and expectation in test example
2012-03-26 16:06:46 -07:00
Mykhailo Kotsur
f04142ea28
docs(guide/unit-testing): fixed typo in code example
2012-03-26 16:06:16 -07:00
Igor Minar
74c84501ed
doc(guide/module): fix typo
2012-03-23 16:57:24 -07:00
Igor Minar
4581b79bbd
doc(guide/controller): fix examples
2012-03-23 16:54:48 -07:00
Manuel Woelker
2be8847ef6
doc(guide): order topic list in guide sidebar in accordance with overview
...
Closes #405
2012-03-23 16:31:33 -07:00
Igor Minar
98e18a64aa
docs(cookbook/form): fix the example
...
Closes #712
2012-03-21 13:52:11 -07:00
Igor Minar
0a45bff472
chore(docs): switch disqus id from angularjs to angularjs-next
2012-03-21 13:46:35 -07:00
Daniel Zen
e7cd0bcc5a
docs(guide/controllers): add a section on testing controllers
2012-03-20 15:23:58 -07:00
Igor Minar
9eafd10fcd
docs(guide/location): fix example
2012-03-20 12:05:57 -07:00
Igor Minar
3436c027f2
docs(guide/started): fix examples
2012-03-20 11:30:21 -07:00
Igor Minar
53b6f522a5
fix(ngDocSpec): fix broken tests
2012-03-16 15:32:14 -07:00
Igor Minar
f13dd3393d
feat(injector): infer _foo_ as foo
...
this is to enable nicer tests:
describe('fooSvc', function() {
var fooSvc;
beforeEach(inject(function(_fooSvc_) {
fooSvc = _fooSvc_;
}));
it('should do this thing', function() {
//test fooSvc
});
});
2012-03-16 10:52:40 -07:00
Igor Minar
716b5fd3e2
docs(*): fixing various docs
2012-03-13 23:17:43 -07:00
Misko Hevery
8b8fdddc0b
docs(links): corrected borken links
2012-03-13 19:36:09 -07:00
Igor Minar
ce4b630524
fix(docs): properly close the optional ] in directive signatures
2012-03-13 17:51:05 -07:00
Daniel Zen
7b52586f7c
docs(guide): fix non-working example + add docs for implicit DI
2012-03-13 17:14:50 -07:00
Misko Hevery
027801a00a
doc(search): include method names in corpus
2012-03-13 16:32:15 -07:00
Vojta Jina
66e6c1ce2c
docs(forms): Change validation tokens to lowercase
2012-03-13 16:18:14 -07:00
Vojta Jina
63be222326
docs(input): Fix some broken links, add missing $, use ng- in examples
2012-03-13 13:52:57 -07:00
Vojta Jina
a29c2cf70c
doc(form): updated to reflect the latest changes
2012-03-13 13:36:28 -07:00
Igor Minar
f59e4b11f1
fix(forms): prefix all form and control properties with $
2012-03-12 23:04:11 -07:00
Igor Minar
a9ed5745a0
docs(directive): add more docs for the directive api
2012-03-12 23:04:10 -07:00
Vojta Jina
317adb36a4
docs(guide.forms): Update forms guide
2012-03-12 01:40:12 -07:00
Misko Hevery
3e5377f4f3
doc(fixes): to better support ng-directive notation
2012-03-11 21:31:35 -07:00
Misko Hevery
488a03631e
Mostly Revert "fix(docs): directive events + cleanup"
...
This reverts commit 8fb34f008e .
2012-03-11 21:31:34 -07:00
Igor Minar
f4d338d393
chore(*): refactor all ng: to ng-
2012-03-09 16:14:26 -08:00
Vojta Jina
00d4427388
refactor($provide) Rename service -> provider
...
It registers a provider class, so this makes more sense.
Breaks Rename $provide.service -> $provide.provider
2012-03-09 10:10:28 -08:00
Igor Minar
fae84463e4
docs(css): allow headers to wrap with blue background
2012-03-08 22:29:35 -08:00
Igor Minar
8fb34f008e
fix(docs): directive events + cleanup
2012-03-08 22:29:35 -08:00
Igor Minar
772ddb983b
docs(directive, module): add various missing docs and fix existing docs
2012-03-08 11:06:14 -08:00
Igor Minar
1b4289ce76
fix(docs): add a header for the directive info section
2012-03-08 11:06:14 -08:00
Igor Minar
2acd60df4d
fix(docs): remove undefined from examples with jsfiddle=false
2012-03-08 11:06:14 -08:00
Misko Hevery
6a98c52c84
chore(compiler): change default restriction to attribute only for directives
2012-03-08 10:07:49 -08:00
Vojta Jina
6aa3cfc31b
docs($compileProvider.directive): Update iAttrs docs
2012-03-07 14:04:14 -08:00
Vojta Jina
1084ccf7ef
fix(docs): Add $locationProvider methods to the docs example provider
...
- $locationProvider.html5Mode
- $locationProvider.hashPrefix
Docs example is basically a different application on the same page, but we don't want to instantiate multiple instances of $browser or $location service, so we are overriding these providers to return the instances from parent app.
Overriding the service with $provide.value caused a provider to be auto-generated without the necessary hashPrefix and html5Mode apis.
2012-03-05 19:09:43 -08:00
Vojta Jina
4370d756e4
refactor(directive.ngModel): rename emitValidity -> setValidity
2012-02-28 18:22:41 -08:00
Vojta Jina
c4c60c25b4
reafactor: Rename ng:bind-immediate -> ng:model-instant
2012-02-28 18:22:41 -08:00
Vojta Jina
139e1b09a9
docs(forms): Update API docs for forms
...
- API forms (ng:model + controller, form + controller)
- fix some broken links
- ng:change, ng:model-instant
2012-02-28 18:22:35 -08:00
Misko Hevery
e31d1c287d
refactor($route): remove .parent(); ng:view scope creation
2012-02-28 17:46:58 -08:00
Vojta Jina
21c725f1a1
refactor(forms): Even better forms
...
- remove $formFactory completely
- remove parallel scope hierarchy (forms, widgets)
- use new compiler features (widgets, forms are controllers)
- any directive can add formatter/parser (validators, convertors)
Breaks no custom input types
Breaks removed integer input type
Breaks remove list input type (ng-list directive instead)
Breaks inputs bind only blur event by default (added ng:bind-change directive)
2012-02-28 17:46:58 -08:00
Vojta Jina
d1558d7924
docs: evaluate only scripts with type text/javascript
2012-02-28 14:15:39 -08:00
Misko Hevery
5d8528cc2e
docs(module): Describe module loading
2012-02-23 09:53:14 -08:00
Misko Hevery
c27a56f4da
docs(scope): show which directives create scopes
2012-02-22 12:59:23 -08:00
Misko Hevery
3773323e46
docs($compile): transclude documentation
2012-02-21 22:46:01 -08:00
Misko Hevery
22c1db1744
fix(ngdoc): extract keywords from properties/methods.
2012-02-21 22:45:58 -08:00
Vojta Jina
b6f61a89cf
docs($compileProvider.directive): fix some typos
2012-01-26 09:13:08 -08:00
Misko Hevery
4804c83b7d
docs(compiler): update the compiler docs
2012-01-25 11:53:59 -08:00
Misko Hevery
9ee2cdff44
refactor(directives): connect new compiler
...
- turn everything into a directive
2012-01-25 11:50:37 -08:00
Misko Hevery
81a6601e05
fix(docs): improper rendering of JSON
2012-01-25 11:46:35 -08:00
Vojta Jina
0196411dbe
refactor(scope.$watch): rearrange arguments passed into watcher (newValue, oldValue, scope)
...
As scopes are injected into controllers now, you have the reference anyway, so having scope as first argument makes no sense…
Breaks $watcher gets arguments in different order (newValue, oldValue, scope)
2012-01-23 11:11:27 -08:00
Vojta Jina
992c790f07
refactor(scope): separate controller from scope
...
Controller is standalone object, created using "new" operator, not messed up with scope anymore.
Instead, related scope is injected as $scope.
See design proposal: https://docs.google.com/document/pub?id=1SsgVj17ec6tnZEX3ugsvg0rVVR11wTso5Md-RdEmC0k
Closes #321
Closes #425
Breaks controller methods are not exported to scope automatically
Breaks Scope#$new() does not take controller as argument anymore
2012-01-23 11:05:36 -08:00
Vojta Jina
afc241bd28
docs(inputType): fix small typo
2012-01-19 00:27:32 -08:00
ludicast
a507fb7bb3
docs(guide): update angular version in an example
2012-01-18 17:16:27 -08:00
Igor Minar
22309c312f
fix(docs): disable appcache - causing too much trouble
2012-01-17 12:13:29 -08:00
Igor Minar
fcf95a47d1
docs(*): more fixes
2012-01-17 11:23:56 -08:00
Vojta Jina
039041e3ae
docs: syntax highlight auto bootstrap code example
2012-01-17 11:00:25 -08:00
Igor Minar
f9502d2ad3
fix(docs): temp hack to get appcache properly invalidated
2012-01-17 09:49:39 -08:00
Vojta Jina
897d0f1424
docs(guide): update the diagram
2012-01-17 09:49:38 -08:00
Igor Minar
92af30ce6e
docs(*): various doc fixes
2012-01-17 09:49:37 -08:00
Igor Minar
939c8e8fac
docs($http, $httpBackend): docs docs docs
2012-01-13 14:28:20 -08:00
Igor Minar
d2ba4c5170
fix(ngdocs): add '=' to type signatures with optional arguments
2012-01-13 13:53:07 -08:00
Vojta Jina
e7a23e4b65
fix(docs): generate correct ids on h elements to get scrolling working
2012-01-13 01:07:17 -08:00
Vojta Jina
249c89c091
fix($autoScroll): scroll even if $location is in html5 mode
...
+ use autoscroll in docs (ng:include)
2012-01-13 01:01:26 -08:00
Misko Hevery
d648d709f3
refactor(module): strict separation between module-config / app-runtime
2012-01-12 13:40:07 -08:00
Misko Hevery
5143e7bf06
feat(module): new module loader
2012-01-10 22:27:00 -08:00
Misko Hevery
afd25446d2
feat(ngdocs): support for interface documentation
2012-01-10 22:21:54 -08:00
Misko Hevery
3c3e6980b3
chore(specs.js): remove unused dependency
2012-01-10 22:21:54 -08:00
Igor Minar
11cb9423a7
chore(docs): disable disqus for localhost
...
it's just slowing down the test runs and debugging
2012-01-09 13:17:49 -08:00
Igor Minar
871252ab4c
docs(guide): fix $xhr -> $http links
2011-12-07 16:59:06 -08:00
Igor Minar
c28662d28d
fix(filter): remove the $ prefix from filter service ids
2011-12-07 13:07:19 -08:00
Vojta Jina
45f47ff6cd
fix($browser.xhr): change method "JSON" to "JSONP"
...
Breaks "JSON" xhr method is now called "JSONP"
2011-11-30 11:03:41 -05:00
Igor Minar
a035e88397
docs(guide): fix directives guide docs
2011-11-28 18:04:01 -05:00
Vojta Jina
3548fe3139
feat(service.$autoScroll): scroll to hash fragment
...
- whenever hash part of the url changes
- after ng:view / ng:include load
2011-11-21 17:49:49 -08:00
Igor Minar
8d1944851d
fix(docs): specify disqus_url
2011-11-19 15:42:17 -08:00
Misko Hevery
8adae2fdf2
refactor(injector): removed loadModule/ng:module
...
- added module property to doc:example
2011-11-14 20:31:21 -08:00
Misko Hevery
ac73e8877e
add(doc): added missing angular.module.ng namespace
2011-11-14 20:31:19 -08:00
Misko Hevery
8d6dc0b9a7
del($eager): removed the support for $eager services
2011-11-14 20:31:19 -08:00
Vojta Jina
acbd7cdf32
style(docs): make jslint happy - fix some warnings
2011-11-14 20:31:19 -08:00
Misko Hevery
035c751076
fix(doc) cleanup all dev guide doc link warnings
2011-11-14 20:31:18 -08:00
Misko Hevery
186a840cd3
feat(bootstrap): added angular.bootstrap method
2011-11-14 20:31:18 -08:00
Misko Hevery
b09595a3c1
fix(doc) cleanup all api doc link warnings
2011-11-14 20:31:18 -08:00
Misko Hevery
f6d98f1472
fix(doc): make output less noisy
2011-11-14 20:31:17 -08:00
Misko Hevery
8fe77b69e8
refactor(docs): improved the visual rendering of the documentation pages
2011-11-14 20:31:17 -08:00
Misko Hevery
1cc6bee4ce
docs(browser): moved and migrate browser removed unneeded files.
2011-11-14 20:31:17 -08:00
Misko Hevery
74fac45f48
doc($filter): added $filter documentation
2011-11-14 20:31:16 -08:00
Misko Hevery
f0fa5e6376
doc(AUTO, NG_MOCK): Documenting the AUTO and NG_MOCK module
2011-11-14 20:31:16 -08:00
Misko Hevery
c283bf6035
refactor($location): merged $locationConfig service into $locationProvider
2011-11-14 20:31:15 -08:00
Misko Hevery
9c06394376
chore(scenario tests): make scenario tests pass again
2011-11-14 20:31:15 -08:00
Misko Hevery
c27aba4354
refactor(api): remove type augmentation
...
BREAK:
- remove angular.[Object/Array/String/Function]
- in templates [].$filter(predicate) and friends need to change to [] | filter:predicate
2011-11-14 20:31:14 -08:00
Misko Hevery
bd04316a89
refactor(services): migrate angular.service -> module
2011-11-14 16:39:33 -08:00
Vojta Jina
5c70ff72e2
style(docs): make jslint happy - fix some warnings
2011-11-13 16:40:31 -08:00
Vojta Jina
5e663c3dc7
fix(docs.guide): fix $location example
2011-11-13 16:40:31 -08:00
Vojta Jina
260725efcd
feat(docs): allow examples with hidden source code
2011-11-13 16:40:31 -08:00
Vojta Jina
4afad1da29
feat(docs): allow custom attributes on <doc:source>
...
Allow any attributes, not only jsfiddle...
2011-11-13 16:40:31 -08:00
Igor Minar
66fc268aeb
docs(css): fixing positioning of disqus comments
...
float:left causes the comments to shift to the left when content is longer
than the sidebar
2011-11-05 22:30:50 -07:00