aboutsummaryrefslogtreecommitdiffstats
path: root/src/Angular.js
AgeCommit message (Collapse)Author
2012-06-08fix(startingTag): make tag name always lowercaseIgor Minar
some browsers (IE) always provide the nodeName as upper-case
2012-06-02docs(bootstrap): rewritten bootstrap guideMisko Hevery
2012-06-02feat($rootElement): added application root elementMisko Hevery
Publish the application root element as $rootElement so that it can be injected to other services.
2012-04-20fix(document): accidental clobbering of document.getAttributeMisko Hevery
Closes #877
2012-04-10chore(*): remove dead code and fix code style issuesIgor Minar
2012-04-10docs(angular.bootstrap): fix typos and errorsIgor Minar
2012-04-09fix(docs): change all directive references to use the normalized namesIgor Minar
2012-03-29refactor($compile): move methods of attr object into prototypeVojta Jina
We have many instances of this object and we clone them as well (e.g. ng-repeat). This should save some memory and performance as well. Double prefixed private properties of attr object: attr.$element -> attr.$$element attr.$observers -> attr.$$observers Update shallowCopy to not copy $$ properties and allow passing optional destination object.
2012-03-28refactor(fromJson/toJson): move the contents of these files into Angular.jsIgor Minar
these files are now mostly empty so it doesn't make sense to keep them separated from other helper functions
2012-03-26feat(assertArgFn): should support array annotated fnsIgor Minar
2012-03-22fix(forEach): should ignore prototypically inherited propertiesIgor Minar
Closes #813
2012-03-19chore(parseInt): cleanup parseInt() for our int()Misko Hevery
2012-03-19fix(json): added support for iso8061 timezoneMisko Hevery
Added support of timezone in dates not just zulu timezone. This fixes issues for date filter which uses json deserialization under the hood. (for now) Closes #/800
2012-03-19fix(compiler): allow transclusion of root elementsMisko Hevery
Fixed an issue where a directive that uses transclusion (such as ngRepeat) failed to link if it was declared on the root element of the compilation tree. (For example ngView or ngInclude including template where ngRepeat was the top most element).
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