Igor Minar
c2b6e127fa
docs(contribute): update misc/contribute docs with Testacular info
2012-09-17 09:46:34 -07:00
Miško Hevery
8133d468b9
docs(directive): remove reference to old isolation syntax
2012-09-13 11:32:13 -07:00
Brian Ford
191efbb558
docs(guide): fix directive interpolation example code
...
Closes #1339
2012-09-11 16:19:45 -07:00
Misko Hevery
a713928210
docs(concept): correct example for creating injector
2012-09-06 15:49:49 -07:00
Godmar Back
05fa20df81
docs(module): fixed module example and corrected typos
2012-09-06 15:49:49 -07:00
Jay Zeng
ed5dfbcd66
docs(module): myAppModule -> simpleAppModule
2012-09-06 15:49:49 -07:00
Fernando Correia
92304323b1
docs(tutorial): correct typos and clarify a few sections
2012-08-30 22:38:54 -07:00
brettcannon
d798423813
doc(misc) Mention how attribute names map to directive names.
2012-08-30 22:38:52 -07:00
Sahat Yalkabov
2583e77cc7
doc(module) changed simpleApp to myApp in the Module page guide for consistency
2012-08-30 21:34:43 -07:00
Steve Nicolai
f66836fee4
doc(devguide) - Fix typos and small grammatical errors in the developer guide.
2012-08-30 21:34:42 -07:00
Uri Goldshtein
0ccc445d53
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 21:34:42 -07:00
Tyson Benson
b7d5fa1cbe
docs(typos): fix typos in dev guide
2012-08-30 21:34:42 -07:00
phil
51a79cebcb
docs(api): fix typo on home page
...
Refference -> Reference
2012-08-30 21:34:41 -07:00
csugden
36bcf64008
Update docs/content/guide/overview.ngdoc
...
Corrects video information
2012-08-30 21:34:41 -07:00
Jamie Krug
5c6630605b
fix(docs): Fix typos and improve grammar.
2012-08-30 21:34:41 -07:00
Jamie Krug
125827406c
fix(docs): Fix bad links.
2012-08-30 21:34:41 -07:00
Colin Frei
62c21422a6
docs(module) fix typo
2012-08-30 21:34:41 -07:00
Misko Hevery
152537c4e9
doc(guide): add concepts
2012-08-27 21:20:51 -07:00
Colin Frei
aef861eb41
doc(directive) correct typos
2012-08-27 21:20:50 -07:00
Misko Hevery
78c5743494
doc(misc) updated getting started to reflect the new homepage
2012-08-27 21:20:49 -07:00
Misko Hevery
2cb9fbd043
doc(guide) simplify the guide home page
2012-08-27 21:20:49 -07:00
phil
7840803add
docs(tutorial): fix typo in step_00
...
Just removed an extra comma. No big deal.
2012-08-24 14:59:21 -07:00
Vojta Jina
5074448443
docs: fix broken links to $compileProvider.directive()
2012-08-12 11:04:20 -07:00
Brian Ford
58d9469574
fix(docs): added note about using JSON3 as a polyfill for IE7
2012-08-10 16:37:42 -07:00
Brian Ford
8d858a2360
fix(docs): added note about needing JSON shim for IE7 and earlier
2012-08-10 16:36:56 -07:00
Igor Minar
07c354a8c0
docs(faq): update faq docs
2012-08-10 14:20:13 -07:00
Vojta Jina
bf77e212af
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-08-10 14:19:37 -07:00
brettcannon
438627c2c3
fix(docs): "in depth" -> "in-depth"
2012-08-10 14:18:06 -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
9af7a9198e
fix($defer): remove deprecated $defer service
2012-06-12 01:09:07 -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
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
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
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
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
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
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
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
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
Igor Minar
98e18a64aa
docs(cookbook/form): fix the example
...
Closes #712
2012-03-21 13:52:11 -07:00
Daniel Zen
e7cd0bcc5a
docs(guide/controllers): add a section on testing controllers
2012-03-20 15:23:58 -07:00