**I want to build an angular Js Application in which I want to use Angular Js for front end and REST API for back-end data please give me suggestions for directory structure **
Take the 2-minute tour
×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
You can find multiple ways of structuring your project on the world wide web. This is one out of the millions examples out there. Try searching for 'best way to structure your Angular project'. You can also find a more detailed explanation on this link: https://scotch.io/tutorials/angularjs-best-practices-directory-structure |
|||
|
I suggest creating angular services for consuming your REST API, which will in turn be injected in your controllers. For your directory structure I suggest one directory per module. For example : -- navigation navigationCtrl.js navigationService.js -- search searchService.js |
|||
|