crud model angularjs.