ng-grid CRUD Operations full code //This is current loged user UIds. var uid = parseInt(session().UID); var app = angular.module( 'companyApp' , [ 'ngGrid' ]); app.service( 'getCompanyService' , function ($http) { this .getCompanies = function () { return $http({ method: 'GET' , url: baseURL + 'Api/CompanyPref/Get/' + uid }); }; this .updateCompany = function (comp) { return $http.post(baseURL + "Api/CompanyPref/UpdateCompany/" + uid, comp) .success( function (data, status, headers, config) { ...
Angular, React, JavaScript, Java, PHP, SQL, C#, Vue, NodeJs, TypeScript and Interview Questions Answers