{"id":22752795,"url":"https://github.com/dhineshwiz/angular-promise-button","last_synced_at":"2025-10-30T08:41:04.432Z","repository":{"id":57179951,"uuid":"121215982","full_name":"dhineshwiz/angular-promise-button","owner":"dhineshwiz","description":"A angularjs button for custom feedback","archived":false,"fork":false,"pushed_at":"2023-05-02T06:39:23.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T10:03:56.451Z","etag":null,"topics":["angular","button","promise"],"latest_commit_sha":null,"homepage":null,"language":null,"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/dhineshwiz.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":"2018-02-12T07:46:38.000Z","updated_at":"2022-09-07T08:24:08.000Z","dependencies_parsed_at":"2022-09-14T03:31:01.734Z","dependency_job_id":null,"html_url":"https://github.com/dhineshwiz/angular-promise-button","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhineshwiz%2Fangular-promise-button","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhineshwiz%2Fangular-promise-button/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhineshwiz%2Fangular-promise-button/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhineshwiz%2Fangular-promise-button/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dhineshwiz","download_url":"https://codeload.github.com/dhineshwiz/angular-promise-button/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246285817,"owners_count":20752958,"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":["angular","button","promise"],"created_at":"2024-12-11T06:07:20.343Z","updated_at":"2025-10-16T00:44:33.773Z","avatar_url":"https://github.com/dhineshwiz.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"angularjs-promise-button\n=====================\nAn Angular module that gives you feedback for the action buttons on supply of promise\n\n## Get Started\n**(1)** You can install angularjs-promise-button using 2 different ways:\u003cbr/\u003e\n**Bower:**\n```bash\n$ bower install angularjs-promise-button --save\n```\n**NPM:**\n```bash\n$ npm install angularjs-promise-button --save\n```\n\n\n**(2)** Include `angularjs-promise-button` (or `angularjs-promise-button.js`) from the [src](https://github.com/dhineshwiz/angular-promise-button/master/src) directory in your `index.html`, after including Angular itself.\n\n**(3)** Add `'promiseButton'` to your main module's list of dependencies.\n\nWhen you're done, your setup should look similar to the following:\n\n```html\n\u003c!doctype html\u003e\n\u003chtml ng-app=\"myApp\"\u003e\n\u003chead\u003e\n\n\u003c/head\u003e\n\u003cbody\u003e\n    ...\n    \u003cscript src=\"//ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angularjs-promise-button.js\"\u003e\u003c/script\u003e\n    ...\n    \u003cscript\u003e\n        var myApp = angular.module('myApp', ['promiseButton']);\n\n    \u003c/script\u003e\n    ...\n\u003c/body\u003e\n\u003c/html\u003e\n```\n## Usage\n\n```html\n\u003cbutton promise-click=\"buttonAction()\" busy-text=\"'Updating'\" hide-percentage=\"false\"\u003ebutton_text\u003c/button\u003e\n```\n\n## Directive Options\n\npromise-click   - Promise of the action to be returned (type: expression)   \nbusy-text       - Busy text which needs to be shown on action perform (type: string)  \nhide-percentage - To hide the percentage of work done(type boolean)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhineshwiz%2Fangular-promise-button","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhineshwiz%2Fangular-promise-button","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhineshwiz%2Fangular-promise-button/lists"}