{"id":27243134,"url":"https://github.com/rodrigoalvesvieira/angular-microtext","last_synced_at":"2026-05-05T20:43:24.041Z","repository":{"id":58215996,"uuid":"37697144","full_name":"rodrigoalvesvieira/angular-microtext","owner":"rodrigoalvesvieira","description":"A tiny utility for processing text in your Angular.js apps","archived":false,"fork":false,"pushed_at":"2015-06-20T22:29:23.000Z","size":196,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T07:11:27.525Z","etag":null,"topics":["angular-directives","angularjs","javascript","microtext","text-utility"],"latest_commit_sha":null,"homepage":"http://rodrigoalvesvieira.github.io/angular-microtext","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rodrigoalvesvieira.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-19T02:26:57.000Z","updated_at":"2020-05-28T12:58:19.000Z","dependencies_parsed_at":"2022-08-30T14:51:23.957Z","dependency_job_id":null,"html_url":"https://github.com/rodrigoalvesvieira/angular-microtext","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigoalvesvieira%2Fangular-microtext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigoalvesvieira%2Fangular-microtext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigoalvesvieira%2Fangular-microtext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rodrigoalvesvieira%2Fangular-microtext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rodrigoalvesvieira","download_url":"https://codeload.github.com/rodrigoalvesvieira/angular-microtext/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248290017,"owners_count":21078923,"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-directives","angularjs","javascript","microtext","text-utility"],"created_at":"2025-04-10T20:27:14.714Z","updated_at":"2026-05-05T20:43:23.971Z","avatar_url":"https://github.com/rodrigoalvesvieira.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# angular-microtext\n\nA tiny utility for processing text in your Angular apps. An Angular.js module implementation of the [original Microtext].\n\n## Installation\n\nYou can install angular-microtext very easily via [Bower]. Simply execute:\n\n`$ bower install angular-microtext`\n\n## Usage\n\nYou only have to inject angular-microtext as a dependency of the app in which you wanna use it:\n\n```javascript\nangular.module('SampleApp', ['rodrigoalves.microtext']) // Oh yes\n    .controller('itemsController', function($scope) {\n});\n```\n\nYou can use it in your controllers, by also injecting `$filter`, like this:\n\n```javascript\nangular.module('SampleApp', ['rodrigoalves.microtext'])\n    .controller('itemsController', function($scope, $filter) {\n        $scope.appName = $filter(\"parameterize\")(\"angular microtext\"); // angular-microtext\n});\n```\n\nNow you can use all the angular-microtext methods throughout your HTML templates:\n\n```html\n\u003c!-- truncate --\u003e\n\u003cp\u003e{{ 'The quick brown fox jumps over the lazy dog.' | truncate: 20 }}\u003c/p\u003e\n\n\u003c!-- firstName --\u003e\n\u003cp\u003e{{ 'Ayrton Senna' | firstName }}\u003c/p\u003e\n\n\u003c!-- lastName !--\u003e\n\u003cp\u003e{{ 'Michael Phelps' | lastName }}\u003c/p\u003e\n\n\u003c!-- getInitials !--\u003e\n\u003cp\u003e{{ 'James Cleveland Owens' | getInitials }}\u003c/p\u003e\n\n\u003c!-- abbrevName --\u003e\n\u003cp\u003e{{ 'Lionel Messi' | abbrevName }}\u003c/p\u003e\n\n\u003c!-- capitalize --\u003e\n\u003cp\u003e{{ 'belchior' | capitalize }}\u003c/p\u003e\n\n\u003c!-- hideEmail --\u003e\n\u003cp\u003e{{ 'rodrigovieira1994@gmail.com' | hideEmail }}\u003c/p\u003e\n\n\u003c!-- excerpt --\u003e\n\u003cp\u003e{{ \"Who is John Galt\" | excerpt: 'John' }}\u003c/p\u003e\n\n\u003c!-- parameterize --\u003e\n\u003cp\u003e{{ 'Bob Dylan' | parameterize }}\u003c/p\u003e\n\n\u003c!-- hideBadWord --\u003e\n\u003cp\u003e{{ 'Boneheaded' | hideBadWord }}\u003c/p\u003e\n```\n\n#### Sample\n\nThere's a small sample Angular.js app that uses angular-microtext inside the `sample` directory.\n\n## Tests\n\n## Author\n\n* Rodrigo Alves \u003crodrigovieira1994@gmail.com\u003e\n\n## License\n\nReleased under the MIT License. See LICENSE.txt for details.\n\nCopyright (c) 2015 Rodrigo Alves\n\n[original Microtext]: https://github.com/rodrigoalvesvieira/microtext.js\n[Bower]: http://bower.io\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigoalvesvieira%2Fangular-microtext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodrigoalvesvieira%2Fangular-microtext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigoalvesvieira%2Fangular-microtext/lists"}