Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.saveProductName = function() {
- var productName = {
- name: $scope.productName
- };
- ProductName.saveProductName(productName, function(response) {
- if(response.status === 'success') {
- $scope.vendorProductData.product_name_id = response.resource.id;
- } else {
- $scope.message = response.message;
- }
- });
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement