Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Create a service - angular

ng g s services/data --spec=false

/*
Where: 

ng = Angular CLI 
g = generate
s = service 

services/data = folderWhereTheServiceWillBeCreated/serviceName

--spec=false: Do not create the testing file for the service

*/
 
PREVIOUS NEXT
Tagged: #Create #service #angular
ADD COMMENT
Topic
Name
2+9 =