Today, I have finalized what I consider my version 1 for a CRUD made with angular based on Rest services.
I have two controllers defined. One for the Grid and One for the Form.
Here is my Grid controller.
The controller uses the CompanySrv (service) as I blogged about before. I have some extra code, since I want to be able to click on a header and then resort my data, and have my search box on the screen search by the column clicked.
The resulting output looks as following:
For the Form part the controller part is code like below:
The corresponding HTML is: