create function for list
Merge pull request #16 from me33dy/angular-crud-test

create function for list