Sha256: c6fc2829a0782bdcb2b848bb9aede309cc3bb101b253509681c7e5f30beaa44d
Contents?: true
Size: 532 Bytes
Versions: 29
Compression:
Stored size: 532 Bytes
Contents
/** * @ngdoc object * @name Bastion.products.controller:NewProductController * * @requires $scope * @requires Product * * @description * Controls the creation of an empty Product object for use by sub-controllers. */ angular.module('Bastion.products').controller('NewProductController', ['$scope', 'Product', 'CurrentOrganization', function ($scope, Product, CurrentOrganization) { $scope.product = new Product({'organization_id': CurrentOrganization}); $scope.panel = {loading: true}; }] );
Version data entries
29 entries across 29 versions & 1 rubygems