Vineet Kumar
2007ddd3f8
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:59 -08:00
Dylan Pyle
aa531d7bd1
docs(guide): fix some invalid javascript in directive documentation
...
Use double quotes to maintain consistency with other HTML
2013-02-14 15:15:06 -08:00
Jesse Cooke
d67eb2f2db
docs(guide): Fix typos in concepts/model,view.
2013-02-14 13:09:40 -08:00
Igor Minar
8801e69dba
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:15:43 -08:00
theotheo
32063278bd
docs(module): fix code example
2013-02-06 21:36:21 +01:00
Amir H. Hajizamani
6e8728a364
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:56:52 -05:00
Shai Reznik
3a71c1e595
doc(guide): Fix examples of $location.html5mode
2013-01-17 23:46:19 -05:00
Shai Reznik
ef7a61a67e
doc(guide): Fixed typos at the unit tests guide
2013-01-17 23:46:19 -05:00
Matt Rohrer
d4312b731a
docs(guide): minor grammar fixes
2013-01-17 19:36:14 -05:00
Lucas Galfasó
98489a1d0c
doc(directive): Fix typos in dialog widget
...
Fixes #1799
2013-01-13 10:09:22 +00:00
kim lokoy
8ecce7642b
docs(guide): fix typos in unit test guide
2013-01-07 21:00:13 +01:00
Pawel Kozlowski
d1d5761232
docs(forms): fix code example for a custom form control
...
Closes #1021
2013-01-05 23:04:33 +01:00
Matt Hardy
2f4967f100
docs(guide): change example controller to properly call greet method on greeter
2012-12-31 13:21:29 +01:00
John Fletcher
d4e7274d4b
docs(guide): minor English corrections to the Directive guide
2012-12-19 20:55:22 +01:00
Miško Hevery
cffa015554
docs(directive): old syntax
2012-12-18 20:39:17 -08:00
Romain Neutron
e48adebfb7
docs(guide): fix injector service code example
...
Fix syntax and update code to the latest API
2012-12-10 23:50:12 +01:00
János Rusiczki
bd62790080
doc(concepts): Fix typo in $render() function
2012-12-07 10:19:08 +00:00
Daniel Luz
4eb0716711
docs(directive): correct expression, fix typo and re-wrap lines
2012-11-29 20:22:41 +01:00
Kris Jenkins
557e3894d7
docs(): Fix a couple of typos in the documentation
2012-11-22 08:28:49 +01:00
Dave Clayton
38a9695413
docs(guide/concepts): some typo/grammar fixes
2012-11-22 08:28:49 +01:00
John Hume
293e0336b0
docs(guide/directive): fix typo
2012-11-22 08:28:49 +01:00
Jamison Dance
80927c5811
docs(guide): fix run-on sentence in modules guide
2012-11-11 11:35:20 +01:00
Tim Macfarlane
27cee7db0a
docs(guide/directive): fix names in scope '='; easier to grok
2012-11-11 11:20:57 +01:00
Miško Hevery
494b527fa7
docs(directive): fix typo
2012-11-05 19:35:31 -08:00
Fred Sauer
97578b4dae
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:48:18 -07:00
Tim Macfarlane
fa12564607
docs(module): fix typo in example
...
fixed example app, `simpleAppModule` should have been `myAppModule`.
2012-10-31 14:22:12 -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
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
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
2cb9fbd043
doc(guide) simplify the guide home page
2012-08-27 21:20:49 -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
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
8c81a0f372
fix(docs): Fix a spelling mistake by replacing the noun with "it"
2012-07-19 15:04:29 -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
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
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
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
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
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
82d90a4096
fix(docs): change all directive references to use the normalized names
2012-04-09 09:52:27 -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
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
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
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
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
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
Vojta Jina
4370d756e4
refactor(directive.ngModel): rename emitValidity -> setValidity
2012-02-28 18:22:41 -08:00