Follow john papa styleguide for angular
Use factoryng for model updates