Hello, good afternoon.

Yes, it was even though I was lost, a controller is like a helper and not
the explicit action, for example, on a php framework, if you access the url
'/charging/generate', is accessing, therefore, the controller 'charging'
and the action 'generate'.

Thank you.

2014-09-23 10:40 GMT-03:00 Stephen Friedrich <[email protected]>:

> Not sure what your question is.
>
> Angular has no predefined concept of "controller actions".
> Usually you simply set functions to the controller's scope.
>
> If you are talking about explicit CRUD support, angularjs has $resource to
> deal with restful backend APIs.
> Plus angularjs 2.0 will probably have a separate persistence layer.
>
>
> On Tuesday, September 23, 2014 3:05:38 AM UTC+2, Anderson Scouto da Silva
> wrote:
>>
>> Good evening, gentlemen.
>>
>> I have a question, in most MVC frameworks (not javascript) that are MVC,
>> each controller has various actions, for example, Yii has a controller
>> "FooController" and this controller has "actionCreate", "actionDelete",
>> etc... You can do this in angularjs? I believe in large applications that
>> would be useful to better organize the project (personal opinion).
>>
>> Thank you.
>>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "AngularJS" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/PiU8TN0r48w/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to