generate service module in ionic code example Example: generate service ionic ionic generate service path_to/service