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