aboutsummaryrefslogtreecommitdiffstats
path: root/src/loader.js
AgeCommit message (Collapse)Author
2014-03-17docs(loader): add annotations to exampleEdward Brey
2014-03-07style(jsdoc tags): remove/ammend invalid tagsPeter Bacon Darwin
As highlighted by the new sterner dgeni.
2014-03-02docs(loader): remove duplicate "the"Ole Michaelis
Typo fixup Closes #6521
2014-03-02docs(loader): change 'MyModule' -> 'myModule'Paolo Moretti
Closes #5393
2014-02-21docs(*): fix anchors for members in api docsPeter Bacon Darwin
2014-02-16docs(all): convert <pre>/</pre> snippets to GFM snippetsCaitlin Potter
2014-02-16docs(bike-shed-migration): convert doctype and namesPeter Bacon Darwin
2014-02-16docs(bike-shed-migration): Add missing module tagPeter Bacon Darwin
The generator is able to imply the module from the containing folder for most files but these are in the ng module but are stored at the root folder.
2013-11-21fix(loader): expose `$$minErr` to modules such as`ngResource`Pete Bacon Darwin
This is highlighted in angular-phonecat when you try to use the index-async.html which needs to load the ngResource module asynchronously but fails when it tries to call `angular.$$minErr` to create the $resourceMinErr object. Closes #5050
2013-11-14fix(loader): don't rely on internal APIsVojta Jina
This significantly increases the size of the loader: - minified: 1031bytes -> 1509bytes (+46%) - minified + gzip: 593bytes -> 810bytes (+36%) I'm not entirely sold on the idea of shipping minErr with the loade. With the current state, the angular-loader behavior is completely broken - this is just a quick fix, we can revisit this change in the future. Closes #4437 Closes #4874
2013-10-22style: make jshint happyVojta Jina
2013-10-18docs: correct broken linksVojta Jina
This also contains some whitespace corrections by my editor.
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-09-27docs(angular.Module): fix controller and directive method parametersDavid Bennett
2013-09-14docs(guide): fix typo in animation docPatrick Drechsler
2013-08-21docs(angular.module): improve docsSequoia McDowell
it wasn't clear before that if given the same name a second time this method RETRIEVES an EXISTING module. Not even sure if my description is accurate, hoping someone will either confirm and merge or clear it up. Closes #3666
2013-07-26feat(ngAnimate): complete rewrite of animationsMatias Niemelä
- ngAnimate directive is gone and was replaced with class based animations/transitions - support for triggering animations on css class additions and removals - done callback was added to all animation apis - $animation and $animator where merged into a single $animate service with api: - $animate.enter(element, parent, after, done); - $animate.leave(element, done); - $animate.move(element, parent, after, done); - $animate.addClass(element, className, done); - $animate.removeClass(element, className, done); BREAKING CHANGE: too many things changed, we'll write up a separate doc with migration instructions
2013-07-11fix($injector): improve $injector:nomod error messageIgor Minar
Closes #2695
2013-06-18docs(loader): fix typo and minor semantic errorOre Landau
2013-06-17chore(minErr): replace ngError with minErrKen Sheedlo
2013-05-24feat(ngError): add error message compression and better error messagesIgor Minar
- add toThrowNg matcher
2013-04-02feat(ngAnimate): add support for animationMisko Hevery
2012-11-21docs(): Fix a couple of typos in the documentationKris Jenkins
2012-11-11docs(angular.module): improve angular.Module#run docsHaralan Dobrev
2012-08-12docs: fix broken links to $compileProvider.directive()Vojta Jina
2012-06-12docs(*): simplify doc urlsIgor Minar
we now have two types of namespaces: - true namespace: angular.* - used for all global apis - virtual namespace: ng.*, ngMock.*, ... - used for all DI modules the virual namespaces have services under the second namespace level (e.g. ng.) and filters and directives prefixed with filter: and directive: respectively (e.g. ng.filter:orderBy, ng.directive:ngRepeat) this simplifies urls and makes them a lot shorter while still avoiding name collisions
2012-04-09fix(docs): change all directive references to use the normalized namesIgor Minar
2012-03-26feat($controller): support controller registration via $controllerProviderIgor Minar
It's now possible to register controllers as: .register('MyCtrl', function($scope) { ... }); // or .register('MyCtrl', ['$scope', function($scope) { ... }); Additionally a module loader shortcut api was added as well: myModule.controller('MyCtr', function($scope) { ... });
2012-03-09chore(*): refactor all ng: to ng-Igor Minar
2012-03-09feat($provide.service): Add $provide.service() for registering a classVojta Jina
2012-03-09refactor($provide) Rename service -> providerVojta Jina
It registers a provider class, so this makes more sense. Breaks Rename $provide.service -> $provide.provider
2012-02-28docs(forms): Update API docs for formsVojta Jina
- API forms (ng:model + controller, form + controller) - fix some broken links - ng:change, ng:model-instant
2012-02-22feat($provide): added constant Misko Hevery
2012-02-22docs(ng:app): Move to other directives namespaceVojta Jina
2012-01-25docs(compiler): update the compiler docsMisko Hevery
2012-01-17docs(*): more docsIgor Minar
2012-01-17docs(*): various doc fixesIgor Minar
2012-01-13feat(module): add runtime blockMisko Hevery
2012-01-12refactor(module): strict separation between module-config / app-runtimeMisko Hevery
2012-01-10feat(module): new module loaderMisko Hevery