Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

ng generate component

// in terminal
// add Service to (new) Component dir

ng g c Components/<componentName>
Source by angular.io #
 
PREVIOUS NEXT
Tagged: #ng #generate #component
ADD COMMENT
Topic
Name
2+5 =