aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2012-03-12docs(guide.forms): Update forms guideVojta Jina
2012-03-12fix(forms): Propagate change from model even if it's undefinedVojta Jina
2012-03-11chore(ng-include): update to work in ng-include|src modeMisko Hevery
2012-03-11doc(fixes): to better support ng-directive notationMisko Hevery
2012-03-11Mostly Revert "fix(docs): directive events + cleanup"Misko Hevery
This reverts commit 8fb34f008eca4d1e15e6fa63902aaa36d199c4af.
2012-03-09refactor(forms): Remove touch() methodVojta Jina
2012-03-09refactor(forms): Rename read() -> setViewValue()Vojta Jina
2012-03-09docs(directives): set directive param name to directive nameIgor Minar
so that we can render better usage examples in docs
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-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-03-09refactor(forms): remove registerWidget and use event insteadVojta Jina
Each widget (ng-model directive) emits $newFormControl event instead of getting hold of parent form and calling form.registerWidget(this);
2012-03-08docs(css): allow headers to wrap with blue backgroundIgor Minar
2012-03-08fix(docs): directive events + cleanupIgor Minar
2012-03-08fix(ng-view, ng-include): onload and $contentLoadedIgor Minar
- change custom onload directive to special arguments recongnized by both ng-view and ng-include - rename $contentLoaded event to $viewContentLoaded and $includeContentLoaded - add event docs
2012-03-08chore(directives,widgets): reorg the code under directive/ dirIgor Minar
2012-03-08fix(ng-cloak): work with classMisko Hevery
2012-03-08fix($parse): Allow property names that collide with native object propertiesVojta Jina
I.e. constructor, toString, or watch on FF (https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object/watch) + optimize parser a bit to not create getter function for operators
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-03-08docs(ng-list): update the ng-list directive docsIgor Minar
2012-03-08fix(tests): fix name collisions between various testsIgor Minar
2012-03-08docs(directive, module): add various missing docs and fix existing docsIgor Minar
2012-03-08docs(ng-view): improve the ng-view docsIgor Minar
2012-03-08fix(docs): add a header for the directive info sectionIgor Minar
2012-03-08fix(test): rename an it so that it doesn't colide with the test aboveIgor Minar
2012-03-08docs(jqlite): add docs for wrap()Igor Minar
2012-03-08fix(docs): remove undefined from examples with jsfiddle=falseIgor Minar
2012-03-08docs($rootScope): rename ttl to digestTtl + docsIgor Minar
2012-03-08chore(compiler): change default restriction to attribute only for directivesMisko Hevery
2012-03-07docs($compileProvider.directive): Update iAttrs docsVojta Jina
2012-03-05docs(mock.inject): Fix the exampleVojta Jina
And explicitly say that you need to load your application modules that you wanna test.
2012-03-05docs($route, ng:view): Fix the examples to work on jsfiddle, update docsVojta Jina
2012-03-05fix(docs): Add $locationProvider methods to the docs example providerVojta Jina
- $locationProvider.html5Mode - $locationProvider.hashPrefix Docs example is basically a different application on the same page, but we don't want to instantiate multiple instances of $browser or $location service, so we are overriding these providers to return the instances from parent app. Overriding the service with $provide.value caused a provider to be auto-generated without the necessary hashPrefix and html5Mode apis.
2012-03-05fix(ng-include): Compile only contentVojta Jina
2012-03-05refactor(testabilityPatch): Change JSTD fail to more general throwVojta Jina
"fail" is a JSTD specific API, so it's not defined when testing without JSTD (eg SlimJim).
2012-03-05chore: Update slim-jimVojta Jina
2012-02-29fix(mock.TzDate): getDay() takes into account the timezone offsetStephane Bisson
2012-02-29docs($cacheFactory): Correct method's descriptionMarcello Nuccio
2012-02-29docs($injector): Correct provider suffix to "Provider"Marcello Nuccio
2012-02-28refactor(directive.ngModel): rename emitValidity -> setValidityVojta Jina
2012-02-28fix(ng:model-instant): defer only keydown, throttle setTimeoutsVojta Jina
2012-02-28fix(input): Render 0 (number) as 0 (not empty string)Vojta Jina
2012-02-28reafactor: Rename ng:bind-immediate -> ng:model-instantVojta Jina
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-28feat(ng:include) Fire $contentLoaded eventVojta Jina
+ refactor unload to listen on this event -> we can use unload with ng:view as well Closes #743
2012-02-28refactor(ng:view) Make $route scope agnostic, add $contentLoaded eventVojta Jina
Problems: - controller was instantiated immediately on $afterRouteChange (even if no content), that's different compare to ng:controller, which instantiates controllers after compiling - route listened on current scope ($afterRouteChange), so if you were listening on $rootScope ($afterRouteChange), you get called first and current.scope === undefined, which is flaky - route handles scope destroying, but scope is created by ng:view - route fires after/before route change even if there is no route (when no otherwise specified) Solution: - route has no idea about scope, whole scope business moved to ng:view (creating/destroying) - scope is created (and controller instantiated) AFTER compiling the content - that means on $afterRouteChange - there is no scope yet (current.scope === undefined) - added $contentLoaded event fired by ng:view, after linking the content
2012-02-28refactor($route): remove .parent(); ng:view scope creationMisko Hevery
2012-02-28refactor($route): move when/otherwise to providerMisko Hevery