angularjs - Angular convention for $http / CRUD -
what angular convention or standard using $http hit api. performing crud within controller , getting fat. common move factory or common perform these actions in controller?
if using api pure rest can use ngresource or restangular , if not better use services
that.below link why should thin slice controller , have more business logic in services or factory
Comments
Post a Comment