{"id":16356965,"url":"https://github.com/previousdeveloper/ionic-best-structure","last_synced_at":"2025-10-26T04:30:17.060Z","repository":{"id":33116994,"uuid":"36755534","full_name":"previousdeveloper/ionic-best-structure","owner":"previousdeveloper","description":"Clean code for ionic project.","archived":false,"fork":false,"pushed_at":"2015-06-07T16:59:03.000Z","size":1704,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T14:17:03.332Z","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/previousdeveloper.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":"2015-06-02T19:09:00.000Z","updated_at":"2021-05-11T04:37:11.000Z","dependencies_parsed_at":"2022-09-24T00:41:30.271Z","dependency_job_id":null,"html_url":"https://github.com/previousdeveloper/ionic-best-structure","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/previousdeveloper%2Fionic-best-structure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/previousdeveloper%2Fionic-best-structure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/previousdeveloper%2Fionic-best-structure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/previousdeveloper%2Fionic-best-structure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/previousdeveloper","download_url":"https://codeload.github.com/previousdeveloper/ionic-best-structure/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238254145,"owners_count":19441797,"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-11T01:44:38.505Z","updated_at":"2025-10-26T04:30:15.946Z","avatar_url":"https://github.com/previousdeveloper.png","language":"JavaScript","readme":"# ionic-best-template\n\n - Define 1 component per file.\n\n  The following example defines the `app` module and its dependencies, defines a controller, and defines a factory all in the same file.\n\n  ```javascript\n  /* recommended */\n\n  // app.module.js\n  angular\n      .module('app', ['ngRoute']);\n  ```\n\n  ```javascript\n  /* recommended */\n\n  // ChatDetailCtrl.js\n  angular\n      .module('app')\n      .controller('ChatDetailCtrl', ChatDetailCtrl);\n\n  function ChatDetailCtrl() { }\n  ```\n\n  ```javascript\n  /* recommended */\n\n  // someFactory.js\n  angular\n      .module('app')\n      .factory('Chats', chatDetailService);\n\n  function chatDetailService() { }\n  ```\n  \n  ###Separate file structure\n  \n  \n     ```\n/www\n  /js\n    /account\n      /controller\n        /account.controller.js\n      /service\n        /account.service.js\n      /config.js\nindex.html\n    ```\n    \n\n    \n    ##For browser\n     ```\n    $ ionic serve\n    ```\n    \n    ##For android\n    ```\n    $ ionic platform add android\n    $ ionic build android\n    $ ionic emulate android\n    ```\n    \n    ##For ios\n    ```\n    $ ionic platform add ios\n    $ ionic build ios\n    $ ionic emulate ios\n     ```\n    \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreviousdeveloper%2Fionic-best-structure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpreviousdeveloper%2Fionic-best-structure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreviousdeveloper%2Fionic-best-structure/lists"}