{"id":15379837,"url":"https://github.com/tomastrajan/component-pattern-for-angular-js-1-x","last_synced_at":"2026-03-13T17:44:13.317Z","repository":{"id":35796768,"uuid":"40078144","full_name":"tomastrajan/component-pattern-for-angular-js-1-x","owner":"tomastrajan","description":"Example of implementation of Component pattern for Angular JS 1.X using ES6 \u0026 Webpack","archived":false,"fork":false,"pushed_at":"2017-04-30T08:07:23.000Z","size":258,"stargazers_count":70,"open_issues_count":1,"forks_count":14,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-15T18:33:52.327Z","etag":null,"topics":["angularjs","component","example","webpack"],"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/tomastrajan.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":"2015-08-02T12:05:05.000Z","updated_at":"2024-01-29T07:56:07.000Z","dependencies_parsed_at":"2022-09-24T12:47:11.060Z","dependency_job_id":null,"html_url":"https://github.com/tomastrajan/component-pattern-for-angular-js-1-x","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tomastrajan/component-pattern-for-angular-js-1-x","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomastrajan%2Fcomponent-pattern-for-angular-js-1-x","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomastrajan%2Fcomponent-pattern-for-angular-js-1-x/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomastrajan%2Fcomponent-pattern-for-angular-js-1-x/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomastrajan%2Fcomponent-pattern-for-angular-js-1-x/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomastrajan","download_url":"https://codeload.github.com/tomastrajan/component-pattern-for-angular-js-1-x/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomastrajan%2Fcomponent-pattern-for-angular-js-1-x/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264979791,"owners_count":23692497,"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":["angularjs","component","example","webpack"],"created_at":"2024-10-01T14:20:03.730Z","updated_at":"2026-03-13T17:44:08.286Z","avatar_url":"https://github.com/tomastrajan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### ATTENTION\nThis is one of the first Angular JS repositories I created, if you like component pattern\nand want a seed project use [Angular JS 1.X ES6 seed](https://github.com/tomastrajan/angular-js-es6-testing-example)\nwhich implements `component pattern`, contains better `webpack` build and advanced\ntesting support out of the box, happy hacking!\n\n# Component Pattern for Angular JS 1.X\n\n* original blog post describing [Component Pattern](https://medium.com/@tomastrajan/component-paradigm-cf32e94ba78b)\n* presentation describing history of Angular JS concepts and [Component Pattern](https://slides.com/tomastrajan/component-pattern-for-angular-js-1-x)\n\n![Components](/src/asset/image/components.jpg?raw=true \"Component Patternf for Angular JS 1.X\")\n\n## Features\n\n* standard implementation of a state using `ui-router`\n* component implementation used as inline template in `ui-router` state definition\n* ES6, Webpack\n\n## Installation\n\nTo use it, just clone this repo and install the npm dependencies:\n\n```shell\n$ git clone https://github.com/tomastrajan/component-pattern-for-angular-js-1-x component_pattern_example\n$ cd component_pattern_example\n$ npm install\n```\n\n## Scripts\n\nAll scripts are run with `npm run [script]`, for example: `npm run test`.\n\n* `build` - generate a minified build to dist folder\n* `dev` - start development server, try it by opening `http://localhost:8080/`\n* `test` - run all tests\n* `test:live` - continuously run unit tests watching for changes\n\n## Credits\n\nThis example uses build process from [angular-webpack-workflow](https://github.com/Foxandxss/angular-webpack-workflow),\nso check it out for more information if needed.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomastrajan%2Fcomponent-pattern-for-angular-js-1-x","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomastrajan%2Fcomponent-pattern-for-angular-js-1-x","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomastrajan%2Fcomponent-pattern-for-angular-js-1-x/lists"}