UNPKG

generator-ngstack

Version:

Based on DaftMonk generator-angular-fullstack, this is a custom mean stack yeoman generator

28 lines (21 loc) 418 B
'use strict'; (function(){ /* ngInject */ var socket = function() { return { socket: { connect: function(){}, on: function(){}, emit: function(){}, receive: function(){}, }, syncUpdates: function(){}, unsyncUpdates: function(){}, }; }; socket .$inject = ['']; angular .module('socketMock',[]) .factory('socket',socket); })();