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
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
Igor Minar
b440ad36f3
docs(downloading): update the downloading docs
2012-10-05 03:13:51 -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
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
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
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
Misko Hevery
7a5f25f667
doc(guide): add concepts
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
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
Vojta Jina
00683a8bbb
docs: fix broken links to $compileProvider.directive()
2012-08-12 10:44:29 -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
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
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
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
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
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
Daniel Zen
7b52586f7c
docs(guide): fix non-working example + add docs for implicit DI
2012-03-13 17:14:50 -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
Igor Minar
772ddb983b
docs(directive, module): add various missing docs and fix existing docs
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
4370d756e4
refactor(directive.ngModel): rename emitValidity -> setValidity
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
Misko Hevery
5d8528cc2e
docs(module): Describe module loading
2012-02-23 09:53:14 -08:00
Misko Hevery
3773323e46
docs($compile): transclude documentation
2012-02-21 22:46:01 -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
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
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
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
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
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
1cc6bee4ce
docs(browser): moved and migrate browser removed unneeded files.
2011-11-14 20:31:17 -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
Vojta Jina
5e663c3dc7
fix(docs.guide): fix $location example
2011-11-13 16:40:31 -08:00
Vojta Jina
bf729d550b
feat(docs): Add scenario runner into dev guide
...
And update the link in the tutorial as well...
2011-10-26 15:58:59 -07:00
Igor Minar
d7ba5bc83b
feat(bootstrap): drop angular.js file name restrictions for autobind
...
The last script element in the dom is always us if the script that
contains angular is loaded synchronously.
For async loading manual bootstrap needs to be performed.
Close #621
2011-10-26 12:57:15 -07:00
Igor Minar
f38010d3a2
fix(compiler): revert 8611ebe6 - calling \$digest after linking
...
Change introduced by me in 8611ebe6 results in considerable inefficiencies when the compiler
and linker is used from within a widget, in which case, we call $digest unnecessary since it
will be called by the $apply which called the directive/widget in the first place.
There are only two places when the extra $digest call can be useful - when manually bootstrapping
the app or in tests. However even in tests this behavior can result in unwanted results (especially
when ng:controller is involved). So it is better to leave it for the developer to call $digest
when it is really needed.
2011-10-20 15:51:14 -07:00
Igor Minar
b0c3f28e8f
docs(forms): fix devguide forms example code
2011-10-14 08:30:02 -07:00
Igor Minar
9810dc0993
docs(cookbook): disable jsfiddle for deeplinking example
...
it uses extra resources, so it won't work on fiddle
2011-10-14 08:29:33 -07:00
Igor Minar
ad5e42cf82
docs($location): Html5 -> HTML5
2011-10-13 14:42:49 -07:00
Igor Minar
9ed1126adb
docs($location): update replace() docs
2011-10-13 14:37:37 -07:00
Igor Minar
7a19eb84aa
docs($location): fix $config -> $locationConfig in docs
2011-10-13 14:07:48 -07:00
Igor Minar
28ccc76aa1
docs(dev_guide.bootstrap.auto_bootstrap): fixing a typo
2011-10-12 23:04:48 -07:00
Igor Minar
b3c4cb7cff
docs(*): remove @workInProgress from everywhere
...
it's not useful any more and it only makes the docs look ugly
2011-10-12 23:04:48 -07:00
Igor Minar
a4b45397e0
docs(forms): add ng:change docs and other fixes
2011-10-12 11:49:42 -07:00
Misko Hevery
fd822bdaf9
chore(formating): clean code to be function() {
2011-10-11 11:01:46 -07:00
Misko Hevery
4f78fd692c
feat(forms): new and improved forms
2011-10-11 11:01:45 -07:00
Dhruv Manek
7aeb6a24f7
fix(docs): rename doc dev_guide.templates.css to dev_guide.templates.css-styling
...
Closes #580
2011-10-07 18:20:20 -07:00
dandoyon
091c173632
docs(started): fixing pluralization
2011-10-05 13:47:43 -07:00
Vojta Jina
13f92de624
feat(docs): use html5 history api for all routing in the docs app
...
- Configure our docs app to use new $location with html5 history api!
- Update simple node web server to serve index.html for all links
(rewritting).
- Update .htaccess file to serve index.html for all links (rewritting).
- At runtime determine the base href path and attach it to the DOM. We
needed the absolute URL to get all browsers to work well.
- Because of the above, we also need to dynamically determine all needed
js/css resources and add them to the DOM. This was needed because FF6
would eagerly fetch resources with wrong URL since the base element is
added to the dom at runtime.
- All content html files were moved to the partials directory, because
with the new html5 urls it was impossible to tell if request for
http://domain/api/angular.filter.html was an html5 url for the html
filter doc page, or an xhr/appcache request for the content html file
for the html filter.
f
2011-09-26 23:51:53 +02:00
Igor Minar
3ace81b92a
fix(e2e tests): use prop() instead of attr() and quote attributes
...
Because of changes in jQuery, we need to use element().prop() instead of element().attr() to retrieve className and other element properties.
Additionally all attribute selectors (e.g. input[name=value]) must have value quoted if it contains dots (".").
2011-09-16 02:44:35 +02:00
Vojta Jina
8fa79066e2
doc($location): $location docs + using $location guide
2011-09-08 23:00:59 +02:00
Vojta Jina
4421f3d435
fix(docs): update docs to reflect new $location and fix e2e tests
2011-09-08 23:00:59 +02:00
Igor Minar
7f0b97e02c
test(jsonp): fixing jsonp e2e tests
...
- buzz api keeps on throttling our requests which makes our build fail
so I'm disabling the buzz demo e2e test
- the $xhr service jsonp test was modified to use jsonp on angularjs.org
instead of buzz api for the same reason as mentioned above
2011-09-02 16:17:05 -07:00
Igor Minar
bc6e0cc954
docs(guide/tutorial/misc): sync with google docs
2011-09-02 10:44:19 -07:00
Igor Minar
4dc9e6416a
doc(tutorial): updates needed for 0.9.18 rebase
2011-08-04 10:48:17 -07:00
Misko Hevery
8f0dcbab80
feat(scope): new and improved scope implementation
...
- Speed improvements (about 4x on flush phase)
- Memory improvements (uses no function closures)
- Break $eval into $apply, $dispatch, $flush
- Introduced $watch and $observe
Breaks angular.equals() use === instead of ==
Breaks angular.scope() does not take parent as first argument
Breaks scope.$watch() takes scope as first argument
Breaks scope.$set(), scope.$get are removed
Breaks scope.$config is removed
Breaks $route.onChange callback has not "this" bounded
2011-08-02 01:00:03 +02:00
Igor Minar
a45d383da2
doc(contribute): add npm & q dependencies to setup instructions
2011-07-29 13:59:36 -07:00
Igor Minar
bdef462ccc
doc(started): fixing up the doc and adding link to the tutorial
2011-07-29 12:56:50 -07:00
Igor Minar
a79231dea6
doc(guide): various fixes and improvements
2011-07-29 12:46:54 -07:00
Igor Minar
3e54a1b18a
doc(tutorial): fixes and improvements from Toni and Ben
2011-07-29 12:40:27 -07:00
Vojta Jina
fee3717892
Update fixed docs content (guide)
...
Couple of typos fixed:
* indentation
* batchLogbatchLog -> batchLog
* start periodic checking
* missing brace
2011-06-21 16:23:48 +02:00
Vojta Jina
c8ee00cb2b
Update docs from googledocs
...
* fixed typo in tutorial step-10
* revert cookbook/buzz example to use googlebuzz user
2011-06-16 16:27:46 +02:00
Igor Minar
3c87611188
docs - various doc fixes
2011-06-15 22:32:24 -07:00
Igor Minar
b842642b57
docs - stripping extra new lines
2011-06-15 22:31:40 -07:00
Di Peng
f8529672f6
Updated docs/cookbook/buzz from gdocs
...
With couple of fixes:
* indentation + code formatting
* use ng:href, ng:src
* change UserId to misko.hevery so it will work now
2011-06-15 01:33:56 +02:00
Misko Hevery
e83465c362
Fix scenario runner on IE7, IE8
...
* add ng:disabled, ng:checked, ng:multiple, ng:readonly, ng:selected
* fetch fixed cookbook/advancedform (use ng:disabled)
* fire keydown instead of change on input
* remove frame when test finishes
2011-06-15 01:14:22 +02:00
Vojta Jina
e0ee3a0726
Update latest docs content from gdocs
2011-06-07 16:11:00 -07:00
Igor Minar
c35b0a7907
yet another docs batch
2011-06-06 23:10:30 -07:00