Igor Minar
fc7f11d03b
add @workInProgress tag and mark all @ngdocs as work in progress
2010-11-18 16:28:42 -08:00
Misko Hevery
7e6f999221
added remaining directives and search box.
2010-11-15 10:04:17 -08:00
Misko Hevery
62c0e5c460
Fix failing tests for ie, and mark elements as ng-widget, ng-directive, and ng-binding
2010-10-27 15:42:46 -07:00
Misko Hevery
2cb9497d02
Fixed issue where compiler would pass in detached text node if previous markup would have removed it.
2010-10-12 21:52:04 -07:00
Misko Hevery
d9abfe8a7e
Introduced injector and $new to scope, and injection into link methods and controllers
...
- added angular.injector(scope, services, instanceCache) which returns inject
- inject method can return, instance, or call function which have $inject
property
- initialize services with $creation=[eager|eager-publish] this means that
only some of the services are now globally accessible
- upgraded $become on scope to use injector hence respect the $inject property
for injection
- $become should not be run multiple times and will most likely be removed
in future version
- added $new on scope to create a child scope
- $inject is respected on constructor function
- simplified scopes so that they no longer have separate __proto__ for
parent, api, behavior and instance this should speed up execution since
scope will now create one __proto__ chain per scope (not three).
BACKWARD COMPATIBILITY WARNING:
- services now need to have $inject instead of inject property for proper
injection this breaks backward compatibility
- not all services are now published into root scope
(only: $location, $cookie, $window)
- if you have widget/directive which uses services on scope
(such as this.$xhr), you will now have to inject that service in
(as it is not published on the root scope anymore)
2010-10-12 16:33:06 -07:00
Misko Hevery
772e32c220
change ng:controller to create new scope hence allow nesting
2010-10-08 16:23:26 -07:00
Misko Hevery
db42221828
fix parseInt by adding radix so that it does not default to octal if the string starts with 0
2010-09-23 13:28:33 +02:00
Misko Hevery
006fd2ca25
HEAD is now at 10c0151 Fixes on issue when a SELECT has OPTION which are data bound (ie OPTION has repeater or OPTION.value is bound), then SELECT does not update to match the correct OPTION after the change in model (ie after the OPTION repeater unrolls or OPTION.value is changed.)
2010-09-21 19:20:34 +02:00
Misko Hevery
5ddd8d9586
stringify names for better compression, remove dead functions, removed underscore.js compatibility
2010-08-18 17:26:33 -07:00
Misko Hevery
059703495d
rename textMarkup to markup
2010-07-30 15:19:43 -07:00
Misko Hevery
b288cb08b4
minor performance improvements
2010-07-26 15:32:08 -07:00
Misko Hevery
bebfbeac0a
fixed xhtml compatibility, fix console in chrome
2010-07-20 16:55:32 -07:00
Misko Hevery
1f05621509
change all attributes from ng- to ng: prefix
2010-07-02 15:39:57 -07:00
Misko Hevery
ac1d02d065
make xhr post optional
2010-04-30 12:22:07 -07:00
Misko Hevery
2a7cd9f390
fix ie bug with null and orphans elements
2010-04-26 16:49:34 -07:00
Misko Hevery
02fa10f93c
allow the widget to change structure of the DOM and have the compiler follow the replaced element.
2010-04-26 11:57:33 -07:00
Misko Hevery
22d93e0a3b
fixes to enable ie
2010-04-20 18:14:13 -07:00
Misko Hevery
259c2bba4b
last failing ie test remaining
2010-04-19 17:02:46 -07:00
Misko Hevery
47ec218777
fix bug which got introduced by accident
2010-04-19 14:53:18 -07:00
Misko Hevery
8e1b670d5b
fix ie bug with .text() on jqlite
2010-04-19 12:54:39 -07:00
Misko Hevery
713307b650
added ng-eval-order attribute
2010-04-12 16:24:28 -07:00
Misko Hevery
843bd355d2
various bug fixes
2010-04-09 16:20:15 -07:00
Misko Hevery
0df93fd49c
clean up, fixes for app
2010-04-07 10:17:15 -07:00
Misko Hevery
7a4b480206
added ng:switch widget
2010-04-05 11:46:53 -07:00
Misko Hevery
a80a61839a
injection is now working
2010-04-03 17:04:36 -07:00
Misko Hevery
11a6431f89
started to add services
2010-03-31 18:18:10 -07:00
Misko Hevery
a7d62dcb55
more tests fixed
2010-03-30 14:55:04 -07:00
Misko Hevery
cc6def854f
reenabled more tests
2010-03-29 21:36:34 -07:00
Misko Hevery
e55c97deba
dissabled a lot of tests, and made the core test set pass.
2010-03-29 20:25:42 -07:00
Misko Hevery
258ca5f165
moved all uneeded files out, widgets.html works, tests horribly broken
2010-03-26 16:27:18 -07:00
Misko Hevery
d934054cfc
major refactoring of scope
2010-03-25 22:03:11 -07:00
Misko Hevery
4fa166866b
input select-one now works
2010-03-25 14:43:05 -07:00
Misko Hevery
0c42eb9909
input[type=text] now works with binding, validation, formatter, required
2010-03-24 16:13:42 -07:00
Misko Hevery
bb98ae14f2
markup now wroks, some refactorings
2010-03-23 14:57:11 -07:00
Misko Hevery
6ff550cfa9
all angular.js directives now work
2010-03-22 21:29:57 -07:00
Misko Hevery
a822708674
rudementary event bind and trigger for jqlite
2010-03-22 20:20:05 -07:00
Misko Hevery
b4561ff951
ng-repeat works
2010-03-22 15:46:34 -07:00
Misko Hevery
84552f7f8a
got few directives working
2010-03-22 13:58:04 -07:00
Misko Hevery
f6664ed7f6
tests fixed, still missing widgets
2010-03-19 22:18:39 -07:00
Misko Hevery
c3eac13aa7
showing off problem to corry
2010-03-19 16:41:22 -07:00