"use strict"; angular.module('app.service') .factory('ticket', ['BaseTicketBridge', function (BaseTicketBridge) { /** * @name Ticket * @param options * @constructor * @extends {BaseTicketBridge} */ var Ticket = function (options) { BaseTicketBridge.call(this, options); this.controller = 'ticket'; }; Ticket.prototype = _.create(BaseTicketBridge.prototype); Ticket.prototype.constructor = Ticket; return new Ticket(); }]);