{"id":15595562,"url":"https://github.com/cdimascio/ya-angular-requirejs-seed","last_synced_at":"2025-07-20T01:06:11.355Z","repository":{"id":19782737,"uuid":"23041587","full_name":"cdimascio/ya-angular-requirejs-seed","owner":"cdimascio","description":"Seed for AngularJs and require.js","archived":false,"fork":false,"pushed_at":"2014-08-17T23:10:05.000Z","size":152,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-29T11:33:19.181Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cdimascio.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":"2014-08-17T13:54:56.000Z","updated_at":"2019-08-13T15:48:46.000Z","dependencies_parsed_at":"2022-08-24T09:00:22.914Z","dependency_job_id":null,"html_url":"https://github.com/cdimascio/ya-angular-requirejs-seed","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cdimascio/ya-angular-requirejs-seed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdimascio%2Fya-angular-requirejs-seed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdimascio%2Fya-angular-requirejs-seed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdimascio%2Fya-angular-requirejs-seed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdimascio%2Fya-angular-requirejs-seed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdimascio","download_url":"https://codeload.github.com/cdimascio/ya-angular-requirejs-seed/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdimascio%2Fya-angular-requirejs-seed/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266052535,"owners_count":23869475,"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-10-03T01:00:39.996Z","updated_at":"2025-07-20T01:06:11.323Z","avatar_url":"https://github.com/cdimascio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ya-angular-requirejs-seed — the seed for AngularJS + RequireJS apps\n\nThis project is an application skeleton for a [AngularJS](http://angularjs.org/) / [RequireJS](http://requirejs.org/) web app.\nIt is based on an earlier AngularJS seed project which can be found [here](https://github.com/angular/angular-seed).\n\nThis seed is differentiates itself from the previous AngularJS seed project in two distinct ways:\n\n1. This seed includes RequireJS to manage module loading\n2. This seed separates the implementation logic for each each AngularJS component into separate RequireJS module files.\nThis helps to create an environment conducive to large scale application development.\n\nYou can use this project to bootstrap your AngularJS / RequireJS webapp projects.\nFinally, to demonstrate this functionality, this seed seed contains a trivial sample application that demonstrates the use of RequireJS and our modular layout.\n\n## Getting Started\n\nClone the ya-angular-requirejs-seed project and install the dependencies.\n\n### Prerequisites\n\n[Git](http://git-scm.com/) - use [Git](http://git-scm.com/) to clone the ya-angular-requirejs-seed repository\n\nNode Package Manager (npm) - use npm to install project dependencies including bower and http-server. You can get npm [here](http://nodejs.org/)\n\n### Clone ya-angular-requirejs-seed\n\nClone the angular-requirejs-seed repository using [git](http://nodejs.org/):\n\n```\nhttps://github.com/cdimascio/ya-angular-requirejs-seed\ncd ya-angular-requirejs-seed\n```\n\n### Install Dependencies\n\nWe have two kinds of dependencies in this project: tools and angular framework code.\n\n* We get the tools we depend upon via `npm`, the [node package manager](http://nodejs.org/).\n* We get the angular code via `bower`, a [client-side code package manager](http://bower.io/).\n\n```\nnpm install bower -g\ncd app\nbower install\n```\n\n\nBower will install all client dependencies into  the following folder in your project.\n\n* `app/bower_components` - contains the angular framework files\n\n* Note, we configure the `.bowerrc` file to install all client dependencies in `app/bower_components`.\n\n### Run the Application\n\nTo run the application, we first install a simple lightweight http server, then start it.\n\n```\nnpm install http-server -g\nhttp-server ./app\n```\n\nNow browse to the app at `http://localhost:8080`.\n\n\n## Directory Layout\n\n    app/                        --\u003e all of the files to be used in production\n      css/                      --\u003e css files\n        style.css               --\u003e default stylesheet\n      img/                      --\u003e image files\n      index.html                --\u003e app layout file (the main html template file of the app)\n      js/                       --\u003e javascript files\n        controller/             --\u003e application controllers\n            my_controller1.js   --\u003e controller1 impl\n            my_controller2.js   --\u003e controller2 impl\n        directive/              --\u003e application directives\n            version_directive   --\u003e version_directive impl\n        filter/                 --\u003e application filters\n            version_filter      --\u003e version_filter impl\n        service/                --\u003e applicaiton services\n            version_service     --\u003e version_service impl\n        app.js          --\u003e angular application\n        boot.js         --\u003e bootstrap logic - requirejs setup and boot\n        controllers.js  --\u003e application controllers\n        directives.js   --\u003e application directives\n        filters.js      --\u003e custom angular filters\n        services.js     --\u003e custom angular services\n        routes.js       --\u003e custom angular routes\n      partials/         --\u003e angular view partials (partial html templates)\n        partial1.html\n        partial2.html\n\n=======\nya-angular-requirejs-seed\n=========================\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdimascio%2Fya-angular-requirejs-seed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdimascio%2Fya-angular-requirejs-seed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdimascio%2Fya-angular-requirejs-seed/lists"}