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
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
Igor Minar
22309c312f
fix(docs): disable appcache - causing too much trouble
2012-01-17 12:13:29 -08:00
Igor Minar
fcf95a47d1
docs(*): more fixes
2012-01-17 11:23:56 -08:00
Igor Minar
f9502d2ad3
fix(docs): temp hack to get appcache properly invalidated
2012-01-17 09:49:39 -08:00
Igor Minar
92af30ce6e
docs(*): various doc fixes
2012-01-17 09:49:37 -08:00
Igor Minar
d2ba4c5170
fix(ngdocs): add '=' to type signatures with optional arguments
2012-01-13 13:53:07 -08:00
Vojta Jina
e7a23e4b65
fix(docs): generate correct ids on h elements to get scrolling working
2012-01-13 01:07:17 -08:00
Vojta Jina
249c89c091
fix($autoScroll): scroll even if $location is in html5 mode
...
+ use autoscroll in docs (ng:include)
2012-01-13 01:01:26 -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
Misko Hevery
afd25446d2
feat(ngdocs): support for interface documentation
2012-01-10 22:21:54 -08:00
Igor Minar
11cb9423a7
chore(docs): disable disqus for localhost
...
it's just slowing down the test runs and debugging
2012-01-09 13:17:49 -08:00
Vojta Jina
3548fe3139
feat(service.$autoScroll): scroll to hash fragment
...
- whenever hash part of the url changes
- after ng:view / ng:include load
2011-11-21 17:49:49 -08:00
Igor Minar
8d1944851d
fix(docs): specify disqus_url
2011-11-19 15:42:17 -08:00
Misko Hevery
8adae2fdf2
refactor(injector): removed loadModule/ng:module
...
- added module property to doc:example
2011-11-14 20:31:21 -08:00
Vojta Jina
acbd7cdf32
style(docs): make jslint happy - fix some warnings
2011-11-14 20:31:19 -08:00
Misko Hevery
b09595a3c1
fix(doc) cleanup all api doc link warnings
2011-11-14 20:31:18 -08:00
Misko Hevery
f6d98f1472
fix(doc): make output less noisy
2011-11-14 20:31:17 -08:00
Misko Hevery
8fe77b69e8
refactor(docs): improved the visual rendering of the documentation pages
2011-11-14 20:31:17 -08:00
Misko Hevery
74fac45f48
doc($filter): added $filter documentation
2011-11-14 20:31:16 -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
Misko Hevery
c27aba4354
refactor(api): remove type augmentation
...
BREAK:
- remove angular.[Object/Array/String/Function]
- in templates [].$filter(predicate) and friends need to change to [] | filter:predicate
2011-11-14 20:31:14 -08:00
Misko Hevery
bd04316a89
refactor(services): migrate angular.service -> module
2011-11-14 16:39:33 -08:00
Vojta Jina
5c70ff72e2
style(docs): make jslint happy - fix some warnings
2011-11-13 16:40:31 -08:00
Vojta Jina
5e663c3dc7
fix(docs.guide): fix $location example
2011-11-13 16:40:31 -08:00
Vojta Jina
260725efcd
feat(docs): allow examples with hidden source code
2011-11-13 16:40:31 -08:00
Vojta Jina
4afad1da29
feat(docs): allow custom attributes on <doc:source>
...
Allow any attributes, not only jsfiddle...
2011-11-13 16:40:31 -08:00
Igor Minar
66fc268aeb
docs(css): fixing positioning of disqus comments
...
float:left causes the comments to shift to the left when content is longer
than the sidebar
2011-11-05 22:30:50 -07:00
Igor Minar
6cbe096dbf
feat(docs): remove the Report Issue link - duplication of disqus
2011-10-30 22:27:25 -07:00
Igor Minar
21602b5cd6
fix(docs): special case url generation for index pages
2011-10-30 22:27:25 -07:00
Igor Minar
4ae671ac88
fix(docs): increment load counter only when a valid page is requested
2011-10-30 22:27:25 -07:00
dandoyon
28ed5ba465
feat(docs): disqus integration
...
- add style for disqus threads in css
- add loadDisqus method to be called afterPartialLoaded
- add div container for disqus threads
2011-10-30 22:27:25 -07:00
Igor Minar
950d02b4d4
fix(docs): remove unused $browser dependency
2011-10-26 12:57:14 -07:00
Igor Minar
e28171d5e4
fix(docs): key-binding used old scope apis
2011-10-22 21:32:48 -07:00
Igor Minar
ce73ed091b
feat(docs): add "Loading..." notification
2011-10-22 21:32:47 -07:00
Igor Minar
90ac8d57b0
fix(docs): update page title only when content loads
2011-10-22 21:32:47 -07:00
Igor Minar
6eb1179505
style(docs): change "this" to "scope" in the controller
2011-10-22 21:32:47 -07:00
Vojta Jina
8978e066b5
fix(gen-docs): require files without touching PATH
...
So that it works on latest revision of node...
New version of Node (v0.5.x) does not support require.paths.push().
2011-10-18 22:23:52 -07:00
Igor Minar
669b53ede2
fix(docs): fix jsfiddle integration
...
this got accidentally messed up during the forms refactoring and mass renaming
2011-10-14 08:31:00 -07:00
Vojta Jina
ec8bb675b4
fix(docs): set proper base href when hashbang url requested
2011-10-13 11:10:20 -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
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
Igor Minar
2e9fed7b6c
fix(e2e): add index-nocache.html to run e2e tests without cache
...
using appcache while running e2e tests was causing the following
problems:
- Safari would occasionally reload the app (as a result of the appcache
refresh) during the angular.validator.asychronous test, which would
result in test failure and false positivy.
- Firefox6 would run the tests very slowly, disabling the cache resolved
the latency issues
- Sometimes tests would run with stale code pulled from cache, which
would result in flaky tests.
2011-09-26 23:51:55 +02: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
a2a830e227
feat (jquery): upgrade everything to jQuery 1.6.4
...
Closes #556
2011-09-16 02:44:27 +02:00
Vojta Jina
4b4292edb8
style: fix some missing semi-colons and spaces, typos
2011-09-08 23:00:59 +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
e54909f5ef
fix(docs): use window.execScript instead of window.eval on IE
...
IE's window.eval doesn't execute in the global context, so we have to
use window.execScript instead which works like window.eval on normal
browsers. However execScript throws an exception when an empty string is
passed in, so I created a workaround with a workaround.
2011-09-06 14:57:37 -07:00
Igor Minar
ff2cb86d5d
style(e2e tests): shorten jquery/jqlite describe
2011-08-31 23:03:58 -07:00
Misko Hevery
3c80cf3df6
style(docs): improve the formatting of events in docs
2011-08-31 14:34:56 -07:00
Misko Hevery
08d09ecbaa
feat(docs): add support for events
2011-08-31 14:30:21 -07:00
Di Peng
19401280ae
feat(doc): generate both normal and debug version of index.html
...
- index.html has manifest file and angular.min.js
- index-jq.html has manifest file, angular.min.js and jquery.min.js
- index-debug.html has angular.js
- index-jq-debug.html has angular.js and jquery.min.js
2011-08-24 15:03:09 -07:00
Igor Minar
30753cb131
feat(ng:cloak): add ng:cloak directive
2011-08-24 15:01:49 -07:00
Di Peng
15e6105779
fix(docs): remove more unecessary use of hide() and show() method
...
- tutorial section of docs fails to render properly as
doc:tutorial-instructions widget uses deprecated show and hide methods
of jQlite.
2011-08-21 09:40:53 -07:00
Igor Minar
607de75fa4
fix(docs): work around the lame ng:show directive
2011-08-21 00:46:58 -07:00
Igor Minar
db04241beb
fix(docs): change docs.css to avoid css clashes in buzz example
2011-08-21 00:46:46 -07:00
Di Peng
774db0aecb
fix(sample): Fix for jsFiddle integration
2011-08-19 15:27:21 -07:00