mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
docs(guide/controller): fix wording in list of 'Do not use'
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
This commit is contained in:
parent
9c53d0769e
commit
ed703d8e2c
1 changed files with 2 additions and 3 deletions
|
|
@ -75,10 +75,9 @@ you have to perform your own manual DOM manipulation, encapsulate the presentati
|
|||
{@link guide/directive directives}.
|
||||
- Input formatting — Use {@link forms angular form controls} instead.
|
||||
- Output filtering — Use {@link dev_guide.templates.filters angular filters} instead.
|
||||
- To run stateless or stateful code shared across controllers — Use {@link dev_guide.services angular
|
||||
- Sharing stateless or stateful code across controllers — Use {@link dev_guide.services angular
|
||||
services} instead.
|
||||
- To instantiate or manage the life-cycle of other components (for example, to create service
|
||||
instances).
|
||||
- Managing the life-cycle of other components (for example, to create service instances).
|
||||
|
||||
|
||||
# Associating Controllers with Angular Scope Objects
|
||||
|
|
|
|||
Loading…
Reference in a new issue