aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2012-05-05fix($parse): support methods on falsy primitive typesVojta Jina
e.g. zero, false, empty string - fix tests to be executed with csp true - fix cps (when more than 5 parts)
2012-05-04chore(docs): re-skin main documentationMisko Hevery
2012-05-04bug($cookie): set on app base path rather the current path.Misko Hevery
2012-05-04fix($compile): have $observe return registration functionMisko Hevery
2012-05-04feat(bootstrap): support code prettify and dropdown from bootstrapMisko Hevery
2012-05-04chore(controller): allow setting map of controllersMisko Hevery
2012-05-04chore(module): improved module prefix/suffix codeMisko Hevery
2012-05-04chore(debug): rewrite angular-bootstrap.js to use $scriptMisko Hevery
2012-05-04fix($compile): ignore ws when checking if template has single rootIgor Minar
Also add the same error checking for sync templates. Closes #910
2012-05-03style($compile): rename orig*Node to beforeTemplate*NodeIgor Minar
2012-05-03fix($compile): fix replaceWithIgor Minar
the old implementation didn't reattach jquery/jqlite data which caused things like to be lost I tried various implementations but it appears that by reattaching the data to the new node by copying the expando property is the most reliable of all.
2012-05-03feat(jqLite): support data() getter and data(obj) setterIgor Minar
... just like jquery does
2012-05-03style(jqLite): clean up the codeIgor Minar
2012-05-03style($compile): clean up the code and normalize fn namesIgor Minar
2012-05-03fix($compile): attach scope to the directive element when templateUrl and ↵Igor Minar
replace=true We forgot to reattach the scope to the replacement element. This affected only directives that had templateUrl and replace:true properties. Reported on the mailing list: https://groups.google.com/forum/?fromgroups#!topic/angular/zwjLr1msS2Y http://jsfiddle.net/lukebayes/g9Sh9/
2012-05-03chore($compile): remove obsolete <<CONTENT>> transclusionIgor Minar
This stuff was never documented and is an accidental leftover from the time when the compiler was rewritten. If any code depends on this, it should be rewritten to use ngTransclude directive intead.
2012-05-03fix($compile): prevent duplicate directive controller instantiationIgor Minar
Closes #876
2012-05-02style($compile): rename compiler.js to compile.jsIgor Minar
2012-05-02fix(select): don't interfere with selection if not databoundIgor Minar
Closes #926
2012-04-30docs(ngCsp): make the CSP docs publicly visibleIgor Minar
2012-04-30docs(ngSanitize): fix directive linksIgor Minar
2012-04-27feat($parse): CSP compatibilityIgor Minar
CSP (content security policy) forbids apps to use eval or Function(string) generated functions (among other things). For us to be compatible, we just need to implement the "getterFn" in $parse without violating any of these restrictions. We currently use Function(string) generated functions as a speed optimization. With this change, it will be possible to opt into the CSP compatible mode using the ngCsp directive. When this mode is on Angular will evaluate all expressions up to 30% slower than in non-CSP mode, but no security violations will be raised. In order to use this feature put ngCsp directive on the root element of the application. For example: <!doctype html> <html ng-app ng-csp> ... ... </html> Closes #893
2012-04-20fix(events): include ie8 in extra event property resetMisko Hevery
2012-04-20fix(bootstrap): rewritten to $scriptMisko Hevery
2012-04-20fix(mouseenter): FF no longer throws exceptionsMisko Hevery
2012-04-20fix(select): properly handle empty & unknown options without ngOptionsIgor Minar
Previously only when ngOptions was used, we correctly handled situations when model was set to an unknown value. With this change, we'll add/remove extra unknown option or reuse an existing empty option (option with value set to "") when model is undefined.
2012-04-20feat($resource): support HTTP PATCH methodsimpulton
Properly serialize data into request body instead of url. Closes #887
2012-04-20chore(license): update to googleMisko Hevery
2012-04-20fix(compiler): reading comment throws error in ieMisko Hevery
Unders some circumstances reading the comment's text throws error.
2012-04-20fix(script): Incorrectly reading script text on ieMisko Hevery
IE deals with script tags in special way and .text() does not work. Reading the .text property directly fixes the issue.
2012-04-20fix(document): accidental clobbering of document.getAttributeMisko Hevery
Closes #877
2012-04-20docs(ngBind): "angular.module.ng.$sanitize" -> ↵johnlindquist
"angular.module.ngSanitize.$sanitize"
2012-04-20docs($compile) "updateh"->"updated"johnlindquist
2012-04-20docs(ngBind): "makes make" -> "makes"johnlindquist
2012-04-15docs($resource): fix the exampleVojta Jina
2012-04-12fix($location): properly rewrite urls in html5 mode with base url setIgor Minar
previously we were doing all kinds of checks to see if we should rewrite the url or not and we were missing many scenarios. not any more. with this change, we rewrite the url unless: - the href is not set - link has target attribute - the absolute url of the link doesn't match the absolute prefix for all urls in our app This also means that ng-ext-link attribute which we previously used to distinguish external links from app links is not necessary any more. apps can just set target=_self to prevent rewriting. BREAKING CHANGE: ng-ext-link directive was removed because it's unnecessary apps that relied on ng-ext-link should simply replace it with target=_self
2012-04-12fix(e2eRunner): $browser.location should delegate to apps $locationIgor Minar
previously it would create a new instance which wasn't configured as the one in the app, which resulted in incorrect values being returned in html5 mode with base url set
2012-04-11test(ngView): fix failing e2e testsIgor Minar
2012-04-11docs($http): fix return typesIgor Minar
2012-04-11feat($http): expose the defaults config as $http.defaultsIgor Minar
Often it is impossible to set the http defaults during the config phase, because the config info is not available at this time. A good example is authentication - often the app needs to bootstrap, allow user to enter credentials and only then it gains access to session token which then should be sent to the server with every request. Without having the ability to set the defaults at runtime, the developer either has to resort to hacks, or has to set the session token header with every request made by the app.
2012-04-11fix($location): don't rewrite links to different base pathsThibault Leruitte
links to different base paths should not be left untouched
2012-04-11fix(input.radio): support 2-way binding in a repeaterVojta Jina
Closes #869
2012-04-11chore(ngSanitize): extract $sanitize, ngBindHtml, linkyFilter into a moduleVojta Jina
Create build for other modules as well (ngResource, ngCookies): - wrap into a function - add license - add version Breaks `$sanitize` service, `ngBindHtml` directive and `linky` filter were moved to the `ngSanitize` module. Apps that depend on any of these will need to load `angular-sanitize.js` and include `ngSanitize` in their dependency list: `var myApp = angular.module('myApp', ['ngSanitize']);`
2012-04-10chore(*): remove dead code and fix code style issuesIgor Minar
2012-04-10docs(angular.bootstrap): fix typos and errorsIgor Minar
2012-04-09chore($browser): remove the addJs methodIgor Minar
this was never meant to be a public api used by apps. I refactored the code to hide the functionality. BREAKING CHANGE: $browser.addJs method was removed apps that depended on this functionality should either use many of the existing script loaders or create a simple helper method specific to the app.
2012-04-09chore($browser): remove the addCss methodIgor Minar
this api was never supposed to be public. nobody should be relying on it. I'm removing it since angular doesn't need it. BREAKING CHANGE: $browser.addCss was removed apps the depend on this functionality should write a simple utility function specific to the app (see this diff for hints).
2012-04-09fix(ngBindHtml): clear contents when model is falsyIgor Minar
Closes #864
2012-04-09fix(docs): change all directive references to use the normalized namesIgor Minar
2012-04-05fix(docs): move $cookies and $cookieStore docs to moduleIgor Minar