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
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
f0be543614
doc(ngdoc): clean up doc generation and add missing documentation links
2012-06-02 16:02:08 -07:00
Misko Hevery
581f93ae56
docs(ngdocs): cleaned up directive titles
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
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
b2d0a386f6
style(docs-scenario.html): rename <angular/> to AngularJS in the title
2012-04-12 02:36:03 -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
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
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
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
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
0a45bff472
chore(docs): switch disqus id from angularjs to angularjs-next
2012-03-21 13:46:35 -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
Misko Hevery
027801a00a
doc(search): include method names in corpus
2012-03-13 16:32:15 -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
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
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
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
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
c27a56f4da
docs(scope): show which directives create scopes
2012-02-22 12:59:23 -08:00
Misko Hevery
22c1db1744
fix(ngdoc): extract keywords from properties/methods.
2012-02-21 22:45:58 -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
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