angular.service('Project', function($resource) {return $resource('../../public/api/project/:projectId.json', {}, {query: {method: 'GET', params: {projectId: 'list'}, isArray: false}});});
How can I map my template to use response.projects?
Controller:
this.projects = Project_.query(); //how to get .projects?
To view this discussion on the web visit https://groups.google.com/d/msg/angular/-/QulEfEMvtEMJ.--
You received this message because you are subscribed to the Google Groups "angular" group.
To post to this group, send email to ang...@googlegroups.com.
To unsubscribe from this group, send email to angular+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/angular?hl=en.
--
You received this message because you are subscribed to the Google Groups "angular" group.
To view this discussion on the web visit https://groups.google.com/d/msg/angular/-/VinHUFRfxIEJ.
> --
> You received this message because you are subscribed to the Google Groups
> "angular" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/angular/-/EYuVMJNBjOgJ.
--
You received this message because you are subscribed to the Google Groups "angular" group.
To view this discussion on the web visit https://groups.google.com/d/msg/angular/-/I-hj94XXRCYJ.
Regards,
Witold Szczerba
> --
> You received this message because you are subscribed to the Google Groups "AngularJS" group.