{"id":15093137,"url":"https://github.com/angular/angular-hint","last_synced_at":"2025-10-22T21:19:53.223Z","repository":{"id":18081025,"uuid":"21144872","full_name":"angular/angular-hint","owner":"angular","description":"run-time hinting for AngularJS applications","archived":true,"fork":false,"pushed_at":"2017-11-22T15:44:08.000Z","size":277,"stargazers_count":363,"open_issues_count":30,"forks_count":45,"subscribers_count":35,"default_branch":"master","last_synced_at":"2024-05-09T10:10:26.359Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/angular.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-23T22:46:16.000Z","updated_at":"2024-02-26T17:10:22.000Z","dependencies_parsed_at":"2022-07-26T21:02:00.528Z","dependency_job_id":null,"html_url":"https://github.com/angular/angular-hint","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular%2Fangular-hint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular%2Fangular-hint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular%2Fangular-hint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular%2Fangular-hint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/angular","download_url":"https://codeload.github.com/angular/angular-hint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219877267,"owners_count":16554853,"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-09-25T11:03:49.698Z","updated_at":"2025-10-06T11:31:17.532Z","avatar_url":"https://github.com/angular.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Angular Hint [![Build Status](https://travis-ci.org/angular/angular-hint.svg?branch=master)](https://travis-ci.org/angular/angular-hint) [![Code Climate](https://codeclimate.com/github/angular/angular-hint/badges/gpa.svg)](https://codeclimate.com/github/angular/angular-hint)\n\nRuntime hinting for AngularJS.\n\n## Usage\n\nAdd `\u003cscript src=\"hint.js\"\u003e\u003c/script\u003e` to your app's `index.html` immediately after the\n`angular.js` script.\n\nThis will load the set of AngularHint modules. Now you are set to use the `ng-hint` directive.\n\nIncluding the `ng-hint` directive with no parameters will install all the AngularHint modules.\n\nExample:\n\n```html\n\u003c!doctype html\u003e\n\u003chtml ng-app=\"sample\" ng-hint\u003e\n  ...\n  \u003cscript src=\"../../node_modules/angular/angular.js\"\u003e\u003c/script\u003e\n  \u003cscript src=\"../../dist/hint.js\"\u003e\u003c/script\u003e\n  ...\n\u003c/html\u003e\n```\n\nFor more fine-grained hints, you can use `ng-hint-include` to include certain AngularHint modules or\n`ng-hint-exclude` to exclude certain AngularHint modules.\n\nExample:\n\n```html\n\u003c!doctype html\u003e\n\u003chtml ng-app=\"sample\" ng-hint-include=\"controllers dom\"\u003e\n  ...\n  \u003cscript src=\"../../node_modules/angular/angular.js\"\u003e\u003c/script\u003e\n  \u003cscript src=\"../../dist/hint.js\"\u003e\u003c/script\u003e\n  ...\n\u003c/html\u003e\n```\n\n```html\n\u003c!doctype html\u003e\n\u003chtml ng-app=\"sample\" ng-hint-exclude=\"modules\"\u003e\n  ...\n  \u003cscript src=\"../../node_modules/angular/angular.js\"\u003e\u003c/script\u003e\n  \u003cscript src=\"../../dist/hint.js\"\u003e\u003c/script\u003e\n  ...\n\u003c/html\u003e\n```\n\n## Building\n\n```shell\n$ yarn install\n```\n\n```shell\n$ yarn build\n```\n## Example\n  In the `example` directory, you can find a sample application that appears\n  superficially correct but violates many Angular best practices. When AngularHint is in operation\n  it produces hints for correcting the sample application. In the `correctExample` directory\n  there is an improved version of the sample application.\n\n## Interested in Contributing?\nSee the [Contributing Guidelines](https://github.com/angular/angular-hint/blob/master/CONTRIBUTING.md)\n\n## License\nApache 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangular%2Fangular-hint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangular%2Fangular-hint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangular%2Fangular-hint/lists"}