Misko Hevery
74fa65ecb7
fix($location): correctly parse link urls in hashbang mode
...
This is a fix for a regression that was introduced by 92a2e180
Closes #1037
2012-06-12 00:27:25 -07:00
Igor Minar
ee6014a3aa
fix($location): throw Errors not Strings
2012-06-12 00:27:24 -07:00
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
Igor Minar
fc0b2b5715
chore(logos): adding AngularJS and shield logos
2012-06-11 14:13:18 -07:00
Igor Minar
f3f090da8a
chore(release): start 1.0.0rc12 regression-exterminator release
...
quick release to fix $location regression
2012-06-11 14:10:02 -07:00
Igor Minar
068f2f9d43
chore(release): cutting the 1.0.0rc promise-resolution release
2012-06-11 00:03:01 -07:00
Igor Minar
2d48733723
docs(changelog): release notes for 1.0.0rc11 promise-resolution
2012-06-11 00:03:01 -07:00
Igor Minar
d37d595b67
test($location): fix tests borked during event renaming
2012-06-10 17:42:44 -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
Max Martinsson
fb99b539b4
fix($compile): correctly merge class attr for replace directives
...
Merging of interpolated class attribute from directive template with replace:true works
Closes #1006
2012-06-08 16:07:15 -07:00
Vojta Jina
10f80d7d29
fix($http): add utf-8 to default Content-Type header (post/put)
...
This fixes special characters issue with MongoLab.
https://groups.google.com/d/topic/angular/1T6h7bfZ7Rs/discussion
2012-06-08 16:07:15 -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
Igor Minar
5c95b8cccc
fix(startingTag): make tag name always lowercase
...
some browsers (IE) always provide the nodeName as upper-case
2012-06-08 15:27:04 -07:00
Misko Hevery
9be82d942f
refactor($compile): always call attr.$observe
...
attr.$observe used to call function only if there was interpolation
on that attribute. We now call the observation function all the time
but we only save the reference to it if interpolation is present.
2012-06-08 15:27:03 -07:00
Misko Hevery
2491319575
chore($compile): clean up compiler tests
2012-06-08 15:27:02 -07:00
Misko Hevery
bcc3a021eb
chore(jqLite): performance reordering
2012-06-08 15:27:02 -07:00
unknown
a57141fd1d
docs(guide): correct couple of typos
2012-06-04 18:46:09 -07:00
Ali Mills
1904596e0c
fix($timeout): allow calling $timeout.cancel() with undefined
...
This is how it worked in rc9, before refactoring $defer into $timeout.
2012-06-04 17:43:14 -07:00
Igor Minar
22143381d8
chore(release): starting 1.0.0rc11 promise-resolution iteration
2012-06-04 10:03:59 -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
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