{"id":23510823,"url":"https://github.com/danielkov/angular-wsocket.io-service","last_synced_at":"2025-05-13T17:17:18.828Z","repository":{"id":57179401,"uuid":"74290449","full_name":"danielkov/angular-wsocket.io-service","owner":"danielkov","description":"Angular service for wsocket.io for seemless integration.","archived":false,"fork":false,"pushed_at":"2016-12-06T22:04:22.000Z","size":297,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-22T22:23:02.136Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielkov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-20T17:21:40.000Z","updated_at":"2016-11-29T13:40:33.000Z","dependencies_parsed_at":"2022-08-30T06:50:13.982Z","dependency_job_id":null,"html_url":"https://github.com/danielkov/angular-wsocket.io-service","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkov%2Fangular-wsocket.io-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkov%2Fangular-wsocket.io-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkov%2Fangular-wsocket.io-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkov%2Fangular-wsocket.io-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielkov","download_url":"https://codeload.github.com/danielkov/angular-wsocket.io-service/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253990503,"owners_count":21995776,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-25T12:12:27.191Z","updated_at":"2025-05-13T17:17:18.760Z","avatar_url":"https://github.com/danielkov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WSocket.io Angular Service\n\nThe easiest way to integrate wsocket.io into your AngularJS project.\n\n## Browser support\n\nThis only supports browsers that come with WebSocket enabled. It has a polyfill for `String.prototype.startsWith()`.\n\n## Simple use\n\n```js\nangular.module('myApp', ['angularWsocketIOService'])\n\n.controller('MyController', ['$scope', 'WsocketIOService', function ($scope, WsocketIOService) {\n\t$scope.currentMessage = '';\n\t$scope.response = '';\n\n\tWsocketIOService.connect();\n\n\t$scope.sendMessage = function () {\n\t\tWsocketIOService.send('message', {msg: $scope.currentMessage});\n\t}\n\n\tWsocketIOService.on('message-back', function (data) {\n\t\t$scope.response = data.msg;\n\t})\n}]);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielkov%2Fangular-wsocket.io-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielkov%2Fangular-wsocket.io-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielkov%2Fangular-wsocket.io-service/lists"}