aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide/dev_guide.mvc.understanding_controller.ngdoc
AgeCommit message (Collapse)Author
2013-11-06docs(guide/overview): Refactor overview and mvc docsTobias Bosch
Before, there we multiple overview docs: - guide/overview - guide/introduction - guide/dev_guide.mvc - guide/dev_guide.mvc.understanding_model - guide/dev_guide.mvc.understanding_view - guide/concepts Now we have: - guide/introduction: High level description of Angular with the key benefits but without code or any concrete concepts - guide/concepts: explains all important concepts with a simple example and contains deep links to the other parts of the guide. All the old information was moved into existing documents or deleted when they were duplicates.
2013-11-04docs(guide/understanding-controllers): fix typo in examplejoshbowdoin
Broken - $scope.spicy = 'very'; Works - $scope.spice = 'very'; Closes #4752
2013-10-30docs(guide/understanding_controller): correct grammarandre
Add the word "to" to improve grammar. Closes #4698
2013-10-26docs(guide/understanding_controller): apply a more intuitive metaphorAndrew Stuart
The BabyCtrl was a bit confusing and GrandChildCtrl seems to make more sense with the whole "scope inheritance" concept. Closes #4634
2013-10-11docs(guide/controller): improve guidance and examplesPete Bacon Darwin
Remove mention of global controller functions Convert larger examples to runnable demos Remove mention of pre-1.0 controllers, in particular discussion of controller inheritance. TODO: Probably could do with updating to explain the "controller as" syntax at some point. Closes: #4373
2013-10-11docs(guide/controller): use `.controller` syntaxFelix
Use the recommended `module.controller` syntax rather than global functions to define controllers in the examples.
2013-08-03docs(guide/controller): fix wording in list of 'Do not use'Mark Campbell
Wording has been changed in two of the examples to read naturally. For example: From: 'Do not use controllers for to run stateless or stateful code shared across controllers' To: 'Do not use controllers for sharing stateless or stateful code across controllers' Closes #3454
2013-06-25docs(guide/controller): fix an error in the scope inheritance exampleJeffrey Palmer
The chained scope creation example at the bottom of this document was using the childCtrl to create the babyScope, instead of the childScope.
2013-06-06refactor($route): pull $route and friends into angular-route.jsIgor Minar
$route, $routeParams and ngView have been pulled from core angular.js to angular-route.js/ngRoute module. This is was done to in order keep the core focused on most commonly used functionality and allow community routers to be freely used instead of $route service. There is no need to panic, angular-route will keep on being supported by the angular team. Note: I'm intentionally not fixing tutorial links. Tutorial will need bigger changes and those should be done when we update tutorial to 1.2. BREAKING CHANGE: applications that use $route will now need to load angular-route.js file and define dependency on ngRoute module. Before: ``` ... <script src="angular.js"></script> ... var myApp = angular.module('myApp', ['someOtherModule']); ... ``` After: ``` ... <script src="angular.js"></script> <script src="angular-route.js"></script> ... var myApp = angular.module('myApp', ['ngRoute', 'someOtherModule']); ... ``` Closes #2804
2013-06-04docs(guide): format snippets of code in plain textEduardo Garcia
2013-05-15docs(guide:understanding_controllers): remove outdated infojamesBrennan
Remove the outdated info in this document related to this API change https://github.com/angular/angular.js/blob/master/src/ng/rootScope.js#L166
2013-04-11docs(guide): Added $ sign to controller example{Qingping,Dave} Hou
2013-03-29docs(guide): add missing closing div tagFelipe Lahti
2013-01-17docs(guide): minor grammar fixesMatt Rohrer
2012-08-30docs(typos): fix typos in dev guideTyson Benson
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-06-02doc(guide): clean up broken linksMisko Hevery
2012-06-02docs(scope): rewriteMisko Hevery
2012-06-02docs(dependency injecton): rewriteMisko Hevery
2012-05-04chore(docs): re-skin main documentationMisko Hevery
2012-04-20docs(guide/controllers): update w/ controller scope separationChris Dawson
2012-04-09fix(docs): change all directive references to use the normalized namesIgor Minar
2012-03-20docs(guide/controllers): add a section on testing controllersDaniel Zen
2012-03-13docs(*): fixing various docsIgor Minar
2012-03-13docs(links): corrected borken linksMisko Hevery
2012-01-25docs(compiler): update the compiler docsMisko Hevery
2011-11-14style(docs): make jslint happy - fix some warningsVojta Jina
2011-11-14fix(doc) cleanup all api doc link warningsMisko Hevery
2011-10-12docs(*): remove @workInProgress from everywhereIgor Minar
it's not useful any more and it only makes the docs look ugly
2011-10-11chore(formating): clean code to be function() {Misko Hevery
2011-10-11feat(forms): new and improved formsMisko Hevery
2011-06-15docs - stripping extra new linesIgor Minar
2011-06-06yet another docs batchIgor Minar
2011-06-06new batch of docsIgor Minar