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
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
f0be543614
doc(ngdoc): clean up doc generation and add missing documentation 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
581f93ae56
docs(ngdocs): cleaned up directive titles
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
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
92a2e18076
feat($location): add $locatonChange[begin|completed] event
...
This allows location change cancelation
2012-06-02 15:44:58 -07:00
Misko Hevery
8aa18f0ad0
chore($location) switch to use $rootElement
2012-06-02 14:51:03 -07:00
Misko Hevery
85632cb44c
feat($rootElement): added application root element
...
Publish the application root element as $rootElement
so that it can be injected to other services.
2012-06-02 14:50:58 -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
885fb0dd07
feat($route): resolve local route promises
...
Resolve all promises on route before we fire $afterRouteChange which then renders the ngView.
2012-06-01 16:56:31 -07:00
Misko Hevery
4361efb03b
feat($injector): provide API for retrieving function annotations
2012-06-01 10:57:51 -07:00
Misko Hevery
416a783040
fix(jqLite): don't eat event exceptions
...
JQuery does not catch exceptions either, and just
lets them pass. This allows the exception to be
shown in console.
2012-05-24 13:48:44 -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
b5fb18ae35
fix(favicon): update to aliased icon
2012-05-24 13:48:31 -07:00
Igor Minar
5fdf42ce39
chore(release): cut the 1.0.0rc10 tesseract-giftwrapping release
2012-05-23 21:05:21 -07:00
Igor Minar
bf6a0b7289
docs(changelog): release notes for 1.0.0rc10 tesseract-giftwrapping
2012-05-23 16:37:37 -07:00
Misko Hevery
989446ecee
fix($rootScope): TTL exception does not clear $$phase
...
When $digest() throws infinite digest exception it
does not properly clear the $phase leaving the scope
in an inconsistent state.
Closes #979
2012-05-23 16:01:20 -07:00
Igor Minar
5214c1d0cb
chore(package.json): add simple package.json with npm dependencies
2012-05-23 15:00:56 -07:00
Igor Minar
4511d39cc7
feat($timeout): add $timeout service that supersedes $defer
...
$timeout has a better name ($defer got often confused with something related to $q) and
is actually promise based with cancelation support.
With this commit the $defer service is deprecated and will be removed before 1.0.
Closes #704 , #532
2012-05-23 15:00:56 -07:00
Daniel Gomes
15b8f205bb
docs($filter): minor corrections
2012-05-22 14:27:26 -07:00
Max
1d388676e3
fix(ngRepeat): expose $first, $middle and $last instead of $position
...
$position marker doesn't work well in cases when we have just one item
in the list because then the item is both the first and last. To solve
this properly we need to expose individual $first and $middle and $last
flags.
BREAKING CHANGE: $position is not exposed in repeater scopes any more
To update, search for $position and replace it with one of $first,
$middle or $last.
Closes #912
2012-05-22 14:18:15 -07:00
Vojta Jina
84542d2431
feat(scope): add event.preventDefault() and event.defaultPrevented
2012-05-17 15:47:53 -07:00
Vojta Jina
91db99208e
refactor(scope.$emit): rename event.cancel() to event.stopPropagation()
...
Breaks event.cancel() is event.stopPropagation()
2012-05-17 15:47:52 -07:00
Misko Hevery
acf095d178
fix(jqLite): have same expando format as jQuery
2012-05-17 10:36:45 -07:00
Igor Minar
301d8f233b
chore(release): start 1.0.0rc10 tesseract-giftwrapping iteration
2012-05-15 00:09:08 -07:00
Igor Minar
d70223e53e
chore(release): cutting 1.0.0rc9 eggplant-teleportation
2012-05-14 22:13:15 -07:00
Igor Minar
8ad02bb5a8
docs(changelog): release notes for 1.0.0rc9 eggplant-teleportation
2012-05-14 22:00:18 -07:00
Misko Hevery
ec1c5dfaee
fix(jqLite): .data()/.bind() memory leak
...
Since angular attaches scope/injector/controller
into DOM it should clean up after itself. No need
to complain about memory leaks, since they can
only happened on detached DOM. Detached DOM would
only be in tests, since in production the DOM
would be attached to render tree and removal
would automatically clear memory.
2012-05-14 21:56:22 -07:00
Misko Hevery
24e7da4f19
fix(angular-mocks): memory leak in jasmine's DI utils
...
When using inject/module helper methods in tests, these methods would
leave the injector laying around after the test. Since injector is
the application it can grow very large.
2012-05-14 21:56:22 -07:00
Vojta Jina
7b739c9702
fix($sniffer): report history false on Android < 4
...
Android has history.pushState, but it does not update the location correctly:
http://code.google.com/p/android/issues/detail?id=17471
Closes #904
2012-05-14 15:12:51 -07:00
Igor Minar
c1533ef576
fix($location): support urls with any protocol
...
The url used for location parsing was quite strict and did not support
custom url schemes like "chrome-extension://". With this change the only
requirement for scheme is that it doesn't contain ":" character.
2012-05-14 14:45:56 -07:00
Igor Minar
679cb8a74a
fix($browser/$location): single quote in url causes infinite digest in FF
...
The real issue is in FF, see https://bugzilla.mozilla.org/show_bug.cgi?id=407172 .
FF overly encodes stuff which breaks our expectations and then we fail .url() != currentUrl.absUrl()
comparison unexpectidly, which leads to infinite digest.
The workaround is to correct for this inconsistency in $browser and decode any single quotes in urls.
Closes #920
2012-05-13 21:53:19 -07:00
Igor Minar
4e65635f85
doc($rootScope): fix $digest example
2012-05-08 17:00:25 -07:00