zmon / Code-for-America-Projects-Hub

Help Brigade members find projects to work on. Promote multi-Brigade collaboration. Onboard new members. Encourage public contribution of ideas. Karma. Visualize scope for Code for America. Provide filtered and sorted card list of projects and ideas for development. The list should be available nation-wide and by city.
http://codeforkc.org/Code-for-America-Projects-Hub/
15 stars 13 forks source link

Organize app by feature. Move mock data out of controller and refactor ProjectService as factory. #83

Closed jstirnaman closed 9 years ago

jstirnaman commented 9 years ago

These changes restructure the code organization, following the preferred organization by feature approach. This allows each "feature" to become its own module. See the Angular Style Guide This also includes changes that refactor the ProjectService into a factory, similar to the ProjectIdeaService. Mock Project data has been moved from the controller and into the ProjectService. The ProjectController is fixed to handle the factory-promise instead of the previous service. Fetching individual projects and ideas will be need to be fixed.