{"id":19755282,"url":"https://github.com/paramsinghvc/ngsocialshare","last_synced_at":"2025-02-28T01:47:17.625Z","repository":{"id":79949861,"uuid":"48856095","full_name":"paramsinghvc/ngSocialShare","owner":"paramsinghvc","description":"ngSocialShare is an angular plug and play Social Share Directive that supports configuring the various social networks on which you want to share data from your angular apps","archived":false,"fork":false,"pushed_at":"2015-12-31T18:17:00.000Z","size":46,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-10T22:24:44.739Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paramsinghvc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-31T16:52:16.000Z","updated_at":"2017-09-09T07:36:38.000Z","dependencies_parsed_at":"2023-03-16T17:15:14.855Z","dependency_job_id":null,"html_url":"https://github.com/paramsinghvc/ngSocialShare","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/paramsinghvc%2FngSocialShare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paramsinghvc%2FngSocialShare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paramsinghvc%2FngSocialShare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paramsinghvc%2FngSocialShare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paramsinghvc","download_url":"https://codeload.github.com/paramsinghvc/ngSocialShare/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241086289,"owners_count":19907276,"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-11-12T03:09:58.150Z","updated_at":"2025-02-28T01:47:17.601Z","avatar_url":"https://github.com/paramsinghvc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ngSocialShare\nngSocialShare is an angular plug and play Social Share Directive that supports configuring the various social networks on which you want to share data from your angular apps\n\n#### Demo \n\n![Alt text](https://raw.githubusercontent.com/paramsinghvc/ngSocialShare/master/example/images/Share.gif \"Social Share\")\n\n#### Usage \n1. Plug the ngSocialShare Module into your app module.\n```javascript\n  angular.module('yourAppModuleName' , ['ngSocialShare']);\n```\n2. In your markup, include the social-share directive like this.\n```html\n  \u003cdiv ng-controller=\"myController as vm\"\u003e\n    \u003csocial-share options=\"vm.shareOptions\"\u003e\u003c/social-share\u003e\n  \u003c/div\u003e  \n```\n3. In your myController, specify a shareOptions object on vm as\n```javascript\n  this.shareOptions = {\n    enabledNetworks: ['twitter', 'pinterest', 'googlePlus', 'email'],\n    title: 'Eminem',\n    description: 'Guts over Fear',\n    url: 'http://google.com',\n    networks: {\n      facebook: {\n        title: '',\n        description: '',\n        caption: '',\n        appId: null,\n        loadWidget: false\n      },\n      twitter: {\n        text: '',\n        url: '',\n        hashtags: 'Coldplay, Paradise',\n        via: '',\n        related: ''\n      },\n      pinterest: {\n        description: ''\n      },\n      googlePlus: {\n        url : ''\n      },\n      email: {\n        title: '',\n        description: ''\n      },\n      whatsapp: {\n        description: ''\n      }\n    }\n  }\n```\n\nNote : If you wanna use the FB Share Dialog Implementation, you need to set the loadWidget option to true and set the Facebook appId.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparamsinghvc%2Fngsocialshare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparamsinghvc%2Fngsocialshare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparamsinghvc%2Fngsocialshare/lists"}