aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/error
AgeCommit message (Collapse)Author
2014-03-02docs(error/ng/btstrpd): note that loading angular.js twice can cause the erroramagee
Closes #6502
2014-03-01docs($sce/insecurl): mention port in the same origin policyMichele Beltrame
Closes #5759 The default trusted origin appears to be the same protocol+domain+port, non just protocol+domain. I patched the doc accordingly.
2014-02-26docs(errors/infdig): add a common exampleBrad Williams
Mention common cause of error is binding to a new array on every $digest loop. Closes #6465
2014-02-21docs(*): fix anchors for members in api docsPeter Bacon Darwin
2014-02-16chore(errors): rename folders to match namespacesPeter Bacon Darwin
2014-02-16docs(bike-shed-migration): fix url-based links refs to AUTO modulePeter Bacon Darwin
2014-02-16docs(bike-shed-migration): fix up links outside the domainPeter Bacon Darwin
It is safer to use markdown style links and save jsdoc style links for internal links and code references
2014-01-31fix($http): update httpBackend to use ActiveXObject on IE8 if necessaryJorg
window.XMLHttpRequest is not always available in IE8 despite it not running in quirks mode, in which case Angular should be using the ActiveXObject instead. Just checking the browser version is taking too many shortcuts. Closes #5677 Closes #5679
2014-01-29docs(compile/nodomevents): fix typo ng-mode -> ng-modelManan
correcting directive name to ng-model instead of ng-mode in nodomevents.ngdoc Correcting use of ng-model directive Closes #6036
2014-01-02fix($httpBackend): use ActiveX XHR when making PATCH requests on IE8Igor Minar
IE8's native XHR doesn't support PATCH requests, but the ActiveX one does. I'm also removing the noxhr error doc because nobody will ever get that error. Closes #2518 Closes #5043
2014-01-02docs(error/ngRepeat/dupes): fix typoDrew Perttula
Closes #5610
2013-12-18docs(error/noregexp): fix link to ng-patternZiang Song
Closes #5313
2013-12-12docs(error/transclude/orphan): fix spelling mistakesMattias Holmlund
Closes #5259
2013-11-13feat($parse): revert hiding "private" propertiesVojta Jina
Hiding `_*` properties was a feature primarily for developers using Closure compiler and Google JS style. We didn't realize how many people will be affected by this change. We might introduce this feature in the future, probably under a config option, but it needs more research and so I'm reverting the change for now. This reverts commit 3d6a89e8888b14ae5cb5640464e12b7811853c7e. Closes #4926 Closes #4842 Closes #4865 Closes #4859 Closes #4849 Conflicts: src/ng/parse.js
2013-11-13docs(errors/compile/tplrt): display html block as codeEddie Monge Jr
HTML elements were getting parsed by as HTML elements Closes #4827
2013-11-11fix($resource): don't use $parse for @dotted.memberChirayu Krishnappa
params and paramDefaults support looking up the parameter value from the data object. The syntax for that is `@nested.property.name`. Currently, $resource uses $parse to do this. This is too liberal (you can use values like `@a=b` or `@a | filter` and have it work - which doesn't really make sense). It also puts up a dependency on $parse which is has restrictions to secure expressions used in templates. The value here, though a string, is specified in Javascript code and shouldn't have those restrictions.
2013-10-30feat($parse): secure expressions by hiding "private" propertiesChirayu Krishnappa
BREAKING CHANGE: This commit introduces the notion of "private" properties (properties whose names begin and/or end with an underscore) on the scope chain. These properties will not be available to Angular expressions (i.e. {{ }} interpolation in templates and strings passed to `$parse`) They are freely available to JavaScript code (as before). Motivation ---------- Angular expressions execute in a limited context.  They do not have direct access to the global scope, Window, Document or the Function constructor.  However, they have direct access to names/properties on the scope chain.  It has been a long standing best practice to keep sensitive APIs outside of the scope chain (in a closure or your controller.)  That's easier said that done for two reasons: (1) JavaScript does not have a notion of private properties so if you need someone on the scope chain for JavaScript use, you also expose it to Angular expressions, and (2) the new "controller as" syntax that's now in increased usage exposes the entire controller on the scope chain greatly increaing the exposed surface.  Though Angular expressions are written and controlled by the developer, they (1) typically deal with user input and (2) don't get the kind of test coverage that JavaScript code would.  This commit provides a way, via a naming convention, to allow publishing/restricting properties from controllers/scopes to Angular expressions enabling one to only expose those properties that are actually needed by the expressions.
2013-10-26docs(error/compile/tplrt): split long linesPete Bacon Darwin
2013-10-26docs(error/compile/tplrt): clarify and grammargdennie
Closes #4503
2013-10-26Clarification stemming from my own issuesgdennie
It is instructive to give literal examples that reflect common (my) experience of the problem. :)
2013-10-24docs(error/multidir): improve the sentence fluencyCloudDueling.com
Closes #4449
2013-10-24docs(modulerr): fix typoG.H. Naylor
Closes #4418
2013-10-23docs(guide/directive,guide/compiler,): drastically improveBrian Ford
2013-10-18docs: correct broken linksVojta Jina
This also contains some whitespace corrections by my editor.
2013-10-15docs($rootScope): better document infinite digest and ttlIgor Minar
2013-10-07fix(*): protect calls to hasOwnProperty in public APIPeter Bacon Darwin
Objects received from outside AngularJS may have had their `hasOwnProperty` method overridden with something else. In cases where we can do this without incurring a performance penalty we call directly on Object.prototype.hasOwnProperty to ensure that we use the correct method. Also, we have some internal hash objects, where the keys for the map are provided from outside AngularJS. In such cases we either prevent `hasOwnProperty` from being used as a key or provide some other way of preventing our objects from having their `hasOwnProperty` overridden. BREAKING CHANGE: Inputs with name equal to "hasOwnProperty" are not allowed inside form or ngForm directives. Before, inputs whose name was "hasOwnProperty" were quietly ignored and not added to the scope. Now a badname exception is thrown. Using "hasOwnProperty" for an input name would be very unusual and bad practice. Either do not include such an input in a `form` or `ngForm` directive or change the name of the input. Closes #3331
2013-10-01feat($sce): simpler patterns for $sceDelegateProviders white/blacklistsChirayu Krishnappa
Closes #4006
2013-09-30fix(ngTransclude): detect ngTranslude usage without a transclusion directivejankuca
Closes #3759
2013-09-30docs(minerr): add note about ngRoute in injector/modulerrBrian Ford
2013-09-26docs(minerr): fix broken style from long line in nonassignBrian Ford
2013-09-17fix($parse): disallow access to window and dom in expressionsChirayu Krishnappa
2013-08-15chore(minerr): move $sce:insecurl file to sce directoryKen Sheedlo
Closes #3568
2013-08-12docs(minErr): add location/ipthprfxIgor Minar
2013-08-12docs(minErr): add location/isrcharg docsIgor Minar
2013-08-12docs(minErr): add location/ihshprfxIgor Minar
2013-08-12chore($location): drop bugus errorIgor Minar
we can never get to this state, so dropping the error
2013-08-09style(minerr): prefer component name as namespaceKen Sheedlo
Closes #3527
2013-08-09fix(re-bootstrap): Throw an error when bootstrapping a bootstrapped element.Jeff Cross
Nothing would prevent a user from accidentally calling angular.bootstrap on an element that had already been bootstrapped. If this was done, odd behavior could manifest in an application, causing different scopes to update the same DOM, and causing debugger confusion. This fix adds a check inside of angular.bootstrap to check if the passed-in element already has an injector, and if so, will throw an error.
2013-08-09docs(jqLite): update the minErr codes for on() and off()Igor Minar
2013-08-08docs(compile/tplrt): description for compile/tplrt errorMisko Hevery
Closes #3459
2013-08-08docs(compile/selmulti): description for compile/selmulti errorMisko Hevery
Closes #3459
2013-08-08docs(compile/nodomevents): description for compile/nodomevents errorMisko Hevery
Closes #3459
2013-08-08docs(compile/notassign): description for compile/notassign errorMisko Hevery
Closes #3459
2013-08-08docs(compile/multidir): description for compile/multidir errorMisko Hevery
Closes #3459
2013-08-08docs(minErr): add controller/noscp docsIgor Minar
2013-08-08docs(minErr): add rootScope/inprog docsIgor Minar
2013-08-08docs(minErr): improve compiler/iscpIgor Minar
2013-08-08docs(minErr): improve sce/icontextIgor Minar
2013-08-08docs(minErr): improve sce/iequirks docIgor Minar
2013-08-08docs(minerr): add description for ngResource:badargsKen Sheedlo
Closes #3510