aboutsummaryrefslogtreecommitdiffstats
path: root/src/Angular.js
AgeCommit message (Collapse)Author
2012-03-19feat(jqLite): add .controller() methodMisko Hevery
extend JQuery with .controller() method which retrieves the closest controller for a given element
2012-03-13fix(indexOf): use native impl if availableIgor Minar
2012-03-11doc(fixes): to better support ng-directive notationMisko Hevery
2012-03-09fix(startTag): fix tagname extractionIgor Minar
the original code magically worked for ng:foo but for nothing else
2012-03-09chore(shiv): remove obsolete shiv codeIgor Minar
we can't provide this functionality because the directives are lazy loaded when the module loads, which is too late for the shiv to do anything useful.
2012-03-09chore(*): refactor all ng: to ng-Igor Minar
2012-03-08refactor(fromJson): Remove error() and just throwVojta Jina
It's more likely you are using angular.fromJson() inside Angular world, which means you get proper exception handling by $exceptionHandler. There is no point to explicitly push it to console and it causes memory leaks on most browsers (tried Chrome stable/canary, Safari, FF).
2012-02-28refactor(forms): Even better formsVojta Jina
- 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-25fix($http): Do not serialize File objectVojta Jina
2012-02-23bug(equals): incorect comparison of datesMisko Hevery
2012-02-22docs(ng:app): Move to other directives namespaceVojta Jina
2012-01-25fix($parse): get rid of $unboundFnIgor Minar
Closes #731
2012-01-25cleanup($scope): remove $$scope ref.Misko Hevery
2012-01-25refactor(directives): connect new compilerMisko Hevery
- turn everything into a directive
2012-01-25add($compile): add compiler v2.0 - not connectedMisko Hevery
2012-01-23fix(scope): support watching functionsIgor Minar
currently we run into infinite digest if a function is being watched as an expression. This is because we generate bound function wrapper when the watch is processed via parser. I'm not too keen on the solution because it relies on the unbound fn that is being exposed for other reasons, but I can't think of a better way to deal with this right now
2012-01-16feat(jqLite): added injector() helper methodIgor Minar
2012-01-12refactor(module): strict separation between module-config / app-runtimeMisko Hevery
2012-01-10feat(module): new module loaderMisko Hevery
2012-01-06fix(angular.copy): throw Error if source and destination are identicalDhruv Manek
Closes #693
2011-12-07fix(): use angular.callbacks namespace for jsonp callbacksIgor Minar
Previously we used to put callbacks on the window object, but that causes problems on IE8 where it is not possible to delete properties from the window object
2011-11-30fix(copy,equals): prevent browser crashes with Scope or WindowIgor Minar
Scope and Window instances are special and when copied can crash browser. For this reason it makes sense to compare them only by identity.
2011-11-21fix(scope): $watch (and angular.equals) should support NaN valuesCodier
- since NaN !== NaN in javascript digest can get into an infinite loop when model value is set to NaN - angular.equals(NaN, NaN) should return true since that's what we expect when comparing primitives or objects containing NaN values Previously NaN because of its special === properties was used as the initial value for watches, but that results in issues when NaN is used as model value. In order to allow for model to be anything incuding undefined and NaN we need to mark the initial value differently in a way that would avoid these issues, allow us to run digest without major perf penalties and allow for clients to determine if the listener is being called because the watcher is being initialized or because the model changed. This implementation covers all of these scenarios. BREAKING CHANGE: previously to detect if the listener was called because the watcher was being initialized, it was suggested that clients check if old value is NaN. With this change, the check should be if the newVal equals the oldVal. Closes #657
2011-11-14style(angularPublic): move public export definition to AnuglarPublic.jsMisko Hevery
2011-11-14doc(rename): NG_LOCALE -> ngLocaleMisko Hevery
2011-11-14refactor(injector): $injector is no longer a function.Misko Hevery
- $injector('abc') -> $injector.get('abc'); - $injector(fn) -> $injector.invoke(null, fn);
2011-11-14style(docs): make jslint happy - fix some warningsVojta Jina
2011-11-14feat(bootstrap): added angular.bootstrap methodMisko Hevery
2011-11-14fix(doc) cleanup all api doc link warningsMisko Hevery
2011-11-14refactor($location): merged $locationConfig service into $locationProviderMisko Hevery
2011-11-14chore(scenario tests): make scenario tests pass againMisko Hevery
2011-11-14new(directive): added ng:module directive for loading modulesMisko Hevery
2011-11-14refactor(scenario): fix scenario bootstrap & publish injector for inspectionMisko Hevery
2011-11-14chore(angular): clean up unused constantsMisko Hevery
2011-11-14refactor(angular): isDate / isArray test iframe independent fixMisko Hevery
2011-11-14fix(i18n): updated the way locale is being registeredMisko Hevery
2011-11-14refactor(mock): moved mocks into its own moduleMisko Hevery
2011-11-14refactor(api): remove type augmentationMisko Hevery
BREAK: - remove angular.[Object/Array/String/Function] - in templates [].$filter(predicate) and friends need to change to [] | filter:predicate
2011-11-14refactor(filter): filters are now injectable and servicesMisko Hevery
BREAK: - removed CSS support from filters
2011-11-14refactor(parser): turn parser into a service (keep compatibility hack)Misko Hevery
2011-11-14refactor(services): migrate angular.service -> moduleMisko Hevery
2011-11-14refactor(injector): switch to injector 2.0 introduce modulesMisko Hevery
2011-11-14new(injector): new injector v2.0Misko Hevery
- not connected to keep the CL small
2011-11-14refactor(api): cleaned up the externalization of angular API methodsMisko Hevery
2011-11-14refactor(compiler) turn compiler into a serviceMisko Hevery
BREAK - remove angular.compile() since the compile method is now a service and needs to be injected
2011-11-14refactor(injector): turn scope into a serviceMisko Hevery
- turn scope into a $rootScope service. - injector is now a starting point for creating angular application. - added inject() method which wraps jasmine its/beforeEach/afterEach, and which allows configuration and injection of services. - refactor tests to use inject() where possible BREAK: - removed angular.scope() method
2011-11-08fix(directives): make directive names case-insensitiveIgor Minar
+ tests + added docs for angular.directive
2011-10-26feat(bootstrap): drop angular.js file name restrictions for autobindIgor Minar
The last script element in the dom is always us if the script that contains angular is loaded synchronously. For async loading manual bootstrap needs to be performed. Close #621
2011-10-26style(Angular.js): various code style fixesIgor Minar
2011-10-24fix(angular.widget): Allow widgets to be styled in IE8 and belowDhruv Manek
Closes #584