{"id":17449312,"url":"https://github.com/heiso/ngmightyboilerplate","last_synced_at":"2025-10-08T12:12:01.557Z","repository":{"id":28663977,"uuid":"32183543","full_name":"heiso/ngMightyBoilerplate","owner":"heiso","description":null,"archived":false,"fork":false,"pushed_at":"2015-09-25T19:38:11.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-30T11:29:44.558Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","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/heiso.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-03-13T22:15:58.000Z","updated_at":"2015-03-13T22:19:56.000Z","dependencies_parsed_at":"2022-07-08T11:01:42.498Z","dependency_job_id":null,"html_url":"https://github.com/heiso/ngMightyBoilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/heiso/ngMightyBoilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heiso%2FngMightyBoilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heiso%2FngMightyBoilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heiso%2FngMightyBoilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heiso%2FngMightyBoilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heiso","download_url":"https://codeload.github.com/heiso/ngMightyBoilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heiso%2FngMightyBoilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278940491,"owners_count":26072529,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-17T21:13:34.887Z","updated_at":"2025-10-08T12:12:01.513Z","avatar_url":"https://github.com/heiso.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## ngMightyBoilerplate ##\n\n## Requirements\n\nNode JS and Grunt must installed on your development machine.\nYou will also need to install globally several plugin.\n\n- `npm install -g grunt-cli`\n\n\n## Installation\n\n- `bower install`\n- `npm install`\n\n\n## Dev options\n\n- `grunt watch` : Allow you to develop as you go.\n- `grunt build` : Build a dist folder containing dev contents.\n\n#Notes#\n\n- Module oriented architecture\n\n#Architecture#\n\n```\n- config\n- grunt\n  |- gruntConfig.coffee\n- src\n  |- app\n    |- page\n      |- _page.js (module definition and config)\n      |- pageStates.js (ui-router states for this app module)\n      |- pageIndexCtrl.js (ctrl linked to index state)\n      |- pageIndex.tpl.html (tpl linked to index state)\n  |- assets\n  |- modules\n  |- scss\n  |- views\n  |- index.html\n```\n\n\n#Workflow#\n\n*Add a new app module*\n\n1. Create a folder `app/dummy`.\n2. Create an angular module declartion file `app/dummy/_dummy.js`, and inject it in `app/_app.js`.\n3. Create a ui-router state files `app/dummy/dummyStates.js`.\n4. Edit `app/dummy/dummyStates.js` and add as state as you want.\n```\n.state('dummy', {\n  url: '/dummy',\n  views: {\n    'main': {\n      'templateUrl': 'app/dummy/dummyIndex.tpl.html',\n      'controller': 'dummyIndexCtrl'\n    }\n  })\n.state('dummy.edit', {\n  url: '/dummy/edit/:id',\n  views: {\n    'main': {\n      'templateUrl': 'app/dummy/dummyEdit.tpl.html',\n      'controller': 'dummyEditCtrl'\n    }\n  })\n```\n5. If you need to create a reusable directive, you can create it in `app/views`, and inject it in the `modules/_modules.js` module declaration.\n5. If you want to create a specific directive for this module you can drop it in `app/views/dummy` folder, and inject it in the `views/_views.js` module declaration.\n\n*Rules :*\n- If a directive is closely linked to a specific service, it should be moved in `app/modules/myModule`, because it's not anymore a simple \"view\" directive\n- DO NOT create more than necessary in `app/dummy`. Only `_dummy.js`, `dummyState.js` and a `dummy\u003c*\u003eCtrl.js`/`dummy\u003c*\u003e.tpl.html` by state defined in the `dummyState.js`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheiso%2Fngmightyboilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheiso%2Fngmightyboilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheiso%2Fngmightyboilerplate/lists"}