Some helpful source codes for components, filters, and services in angular
ng serve [--open --port 8080/8443 --liveReload true/false --proxy-config proxy.conf.json --target Build --environment --ssl true/false --ssl-key ssl/server.key --ssl-cert ssl/server.cert --aot true/false]
or
npm start
ng --version
ng generate component name
ng generate directive name
ng generate pipe name
ng generate service name
ng generate module name
ng generate class name
ng generate interface name
ng generate enum name
ng test [--watch=false/true]
or
npm run test
ng e2e
or
npm run e2e
ng build [--prod --dev --source]
ng lint
ng cache clean
Installing npm packages
npm install
accordion |
---|
id |
headline |
image | map-use | google-material | fw-icon | audio-block | video-block |
---|---|---|---|---|---|
source | name | element | class | class | class |
id | form | id | id | ||
class | coordination | autoplay | autoplay | ||
width | urlmap | controls | controls | ||
height | text | preload | preload | ||
alttext | volume | poster | |||
usemap | muted | muted | |||
loop | loop | ||||
crossorigin | crossorigin | ||||
notsupportedtext | notsupportedtext | ||||
mpeg | mpeg | ||||
mp4 | mp4 | ||||
webm | webm | ||||
ogg | ogg | ||||
flac | wav | ||||
title | quicktime | ||||
track | x_msvideo | ||||
tracksrc | m4v | ||||
trackkind | rtf | ||||
tracksrclang | track | ||||
tracklabel | tracksrc | ||||
trackkind | |||||
tracksrclang | |||||
tracklabel | |||||
avatar |
---|
class |
firstname |
secondname |
lastname |
size |
textsize |
color |
bgcolor |
overcolor |
borderradius |
browser-version | browser-code-name | browser-name | browser-cookie-enabled | browser-language | browser-online | browser-platform | browser-product | browser-geolocation | browser-user-agent | browser-contains |
---|---|---|---|---|---|---|---|---|---|---|
coming-soon |
---|
date |
time |
title |
extraText |
id |
color |
backgroundcolor |
backgroundimage |
analytics-advertising | data-collection | data-protection-officer | data-protection | data-security | general-information | newsletter | online-marketing-affiliate-program | payment-service | plugins-tools | social-media |
---|---|---|---|---|---|---|---|---|---|---|
headline | firstname | headline | firstname | |||||||
lastname | lastname | |||||||||
street | street | |||||||||
streetnumber | streetnumber | |||||||||
postalcode | postalcode | |||||||||
city | city | |||||||||
telephone | telephone | |||||||||
google-plus-plugin | instagram-plugin | linkedin-plugin | pinterest-plugin | tumblr-plugin | xing-plugin |
---|---|---|---|---|---|
amazon |
---|
klarna | paydirekt | paypal | sofortueberweisung |
---|---|---|---|
google-maps-plugin | google-web-fonts-plugin | soundcloud-plugin | spotify-plugin | vimeo-plugin | youtube-plugin |
---|---|---|---|---|---|
cleverelements | cleverreach | klick-tipp | mailchimp | newsletter2go | rapidmail |
---|---|---|---|---|---|
etracker | facebook-pixel | google-adsense | google-adwords-conversion-tracking | google-analytics | google-analytics-remarketing | google-recaptcha | matomo | wordpress-stats |
---|---|---|---|---|---|---|---|---|
year | month | day | week | minute | second | millisecond | hour |
---|---|---|---|---|---|---|---|
format |
clock-time | countdown-timer |
---|---|
date | |
time |
legal-form | contact-form |
---|---|
headline | firstName |
registerTitle | lastName |
registerForm | street |
vatTitle | streetNumber |
vatForm | postalcode |
taxTitle | place |
tax | salutation |
lawTitle | title |
lawName | secondName |
country | |
telephone | |
telefax | |
homepage | |
homepageText |
input-with-headline | input-field | input-with-datalist | textarea-field | button-field |
---|---|---|---|---|
mainclass | mainclass | mainclass | containerclass | id |
containerclass | containerclass | containerclass | textareaclass | class |
headlineclass | inputclass | inputclass | maxlength | type |
inputclass | id | id | name | name |
id | name | name | rows | value |
headline | type | type | cols | formID |
name | value | value | placeholder | formAction |
type | placeholder | placeholder | required | formEnctype |
value | datalistID | autofocus | formMethod | |
placeholder |
google-recaptcha | google-font | google-translate |
---|---|---|
code | font |
footer-mode | header-mode | head-mode | base-mode | base-font | link-css | title-mode | no-script | meta-mode | script-mode |
---|---|---|---|---|---|---|---|---|---|
class | class | url | color | rel | name | url | |||
target | fontfamily | href | content | async | |||||
size | hreflang | charset | defer | ||||||
sizes | itemprop | type | |||||||
title | httpsequiv | charset | |||||||
type | property | ||||||||
target | |||||||||
rev | |||||||||
media | |||||||||
crossorigin |
links | link-container | download-link |
---|---|---|
url | url | url |
name | name | name |
target | target | target |
text | download |
sorting-list | unsorting-list | direction-list |
---|---|---|
loading-spinner |
---|
id |
color |
bgcolor |
size |
simple-modal |
---|
id |
headline |
footer |
content-overlay | content-image-overlay | image-content-overlay | image-overlay |
---|---|---|---|
mainclass | containerclass | containerclass | containerclass |
maintext | maintext | maintext | mainimage |
text | alttext | alttext | mainalttext |
size | source | source | image |
borderradius | textsize | textsize | alttext |
textsize | size | size | textsize |
color | borderradius | borderradius | size |
bgcolor | color | color | borderradius |
overcolor | bgcolor | bgcolor | |
overbgcolor |
mmenu | slick-slider |
---|---|
ver | ver |
options | options |
id | element |
popover |
---|
position |
defaulttext |
popovertext |
popup |
---|
position |
defaulttext |
popuptext |
profile |
---|
position |
defaulttext |
tooltiptext |
qrcode |
---|
width |
height |
data |
encoding |
correction |
scrolltotop | scrolltoelement |
---|---|
element | |
timer |
selection | option-group | option |
---|---|---|
id | id | id |
form | label | label |
size | disabled | disabled |
name | value | |
autofocus | selected | |
disabled | ||
multiple | ||
required |
skillbar |
---|
text |
width |
bgcolor |
youtube-playlist | youtube | vimeo | google-plus | facebook-messenger | pinterest-bookmark | pinterest-button-follow | pinterest-pin | pinterest-board | pinterest-profile | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
videolistid | videoid | videoid | timeline | tel | instagramPostID | googlePlusID | postURL | username | language | follow | size | boardUrl | username |
width | width | width | style | text | postID | text | round | fullName | descriptionHide | format | format | ||
height | height | height | source | large | pinID | boardWidth | boardWidth | ||||||
data | scaleHeight | scaleHeight | |||||||||||
linktext | scaleWidth | scaleWidth |
table-mode | table-header | table-body | table-footer | table-row | table-column | table-column-group | table-column-of-group | table-caption |
---|---|---|---|---|---|---|---|---|
id | id | id | id | id | id | id | id | id |
class | class | class | class | class | class | class | class | class |
abbreviation | headers | size | size | |||||
headers | columnsize | |||||||
columnsize | rowsize | |||||||
rowsize | ||||||||
scope | ||||||||
acronymous | bigger | bold | break | coding | down | delete | emphrasize | inserted | italic | marked | quote | smaller | stronger | up | variable | block-quote | abbreviation |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
url | url | title |
address-block | keyboarddisplay | cite-mode | pre-mode | bidirectional | article-mode | aside-mode | applet-mode | bidirectionalisolation | center-mode | data-mode | descriptionlist | descriptionterm | descriptiondescribe | details-mode | definininginstance | dialog-mode | fieldset-mode |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
direction | url | value | open | id | compact | disabled | |||||||||||
objectname | title | formname | |||||||||||||||
position | name | ||||||||||||||||
alttext | |||||||||||||||||
archiveurl | |||||||||||||||||
codebaseurl | |||||||||||||||||
spacehorizontal | |||||||||||||||||
spacevertical | |||||||||||||||||
height | |||||||||||||||||
width | |||||||||||||||||
name |
legend-mode | figure-mode | figcaption-mode | frame-mode | frameset-mode | noframes-mode | main-mode | meter-mode | navigation | output-mode | progress-mode | ruby-mode | rubyterm | rubyparse | sdelete | strikedelete | summary-mode | wordbreakopportunity | template-mode | iframe-mode | partingline | symbol | headline | text-container | text-element |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
position | border | cols | value | name | value | class | id | id | id | |||||||||||||||
urllong | rows | min | form | max | url | class | codeformat | size | ||||||||||||||||
source | max | for | height | orientation | code | title | ||||||||||||||||||
height | width | |||||||||||||||||||||||
width | srcdoc | |||||||||||||||||||||||
noresize | sandbox | |||||||||||||||||||||||
name | ||||||||||||||||||||||||
scrollformat |
tooltip |
---|
position |
defaultText |
tooltipText |
bgcolor | color | family-type | size-type | position | underline | underlineHover |
---|---|---|---|---|---|---|
color | color | type | size | position |
Boolean | Math | Object | Regular Expression | String | Utilities | Collection |
---|---|---|---|---|---|---|
isArray | abs | invert | match | camelize | after | search |
isDefined | arccosine | keys | test | endsWith | afterWhere | |
isEmpty | arcsine | values | latinize | before | ||
isEmptyDimension | arctangant | lefttrim | beforeWhere | |||
isEqualType | arctangantquotient | lower | chunkBy | |||
isEqual | ceil | lowercaseFirst | concat | |||
isFunction | cosine | repeat | contains | |||
isGreaterEqual | cubicRoot | reverse | countBy | |||
isGreater | degrees | righttrim | defaults | |||
isLessEqual | euler | slugify | every | |||
isLess | floor | split | filterBy | |||
isNil | hyperbolicArccosine | startsWith | first | |||
isNotEqualType | hyperbolicArcsine | stringular | flatten | |||
isNotEqual | hyperbolicCosine | striptags | fuzzy | |||
isNull | hyperbolicSin | titleize | fuzzyBy | |||
isNumber | hyperbolicTangant | trim | isEmptyCollection | |||
isObject | logarithm | truncate | join | |||
isString | min | upper | last | |||
isUndefined | max | uppercaseFirst | map | |||
percentage | uriComponentEncode | objectToArray | ||||
pow | uriEncode | omit | ||||
radians | wrap | pick | ||||
radix | range | |||||
round | remove | |||||
sin | removeWith | |||||
sqrt | reverse | |||||
sum | searchfield | |||||
tangant | unique | |||||
trunc | where | |||||
xor |
Calculate | Clock | Utilities | datetime | length | speed | temperature | weight |
---|---|---|---|---|---|---|---|
sum | hexadecimal | year | feetToMeter | mphToKPH | celsiusToFahrenheit | poundToKilogram | |
decrement | month | feetToInch | mphToKnots | fahrenheitToCelsius | poundToOunce | ||
increment | monthAtString | feetToCM | mphToMach | poundToGram | |||
add | day | feetToYard | kphToMPH | poundToStone | |||
subtract | dayAtString | feetToKilometer | kphToKnots | KilogramToPound | |||
divide | hour | feetToMile | kphToMach | KilogramToOunce | |||
multiply | minute | meterToFeet | knotsToMPH | KilogramToGram | |||
modulo | second | meterToInch | knotsToKPH | KilogramToStone | |||
millisecond | meterToCM | knotsToMach | OunceToPound | ||||
meterToYard | machToMPH | OunceToKilogram | |||||
meterToKilometer | machToKPH | OunceToGram | |||||
meterToMile | machToKnots | OunceToStone | |||||
inchToMeter | GramToPound | ||||||
inchToFeet | GramToKilogram | ||||||
inchToCM | GramToOunce | ||||||
inchToYard | GramToStone | ||||||
inchToKilometer | StoneToPound | ||||||
inchToMile | StoneToKilogram | ||||||
cmToFeet | StoneToOunce | ||||||
cmToInch | StoneToGram | ||||||
cmToMeter | |||||||
cmToYard | |||||||
cmToKilometer | |||||||
cmToMile | |||||||
yardToFeet | |||||||
yardToInch | |||||||
yardToMeter | |||||||
yardToCM | |||||||
yardToKilometer | |||||||
yardToMile | |||||||
kilometerToFeet | |||||||
kilometerToInch | |||||||
kilometerToMeter | |||||||
kilometerToYard | |||||||
kilometerToCM | |||||||
kilometerToMile | |||||||
mileToFeet | |||||||
mileToInch | |||||||
mileToMeter | |||||||
mileToYard | |||||||
mileToCM | |||||||
mileToKilometer |
Person |
---|
firstname |
secondname |
lastname |
street |
streetnumber |
postalcode |
cities |
country |
Direction | Status | FileAccess | Port | MediaType |
---|---|---|---|---|
UP | YES | None | HTTP | AUTOCAD_NCSA |
DOWN | NO | Read | HTTPS | APPLEFILE |
LEFT | Write | ASTOUND | ||
RIGHT | ReadWrite | TSP | ||
AUTOCAD_CERN | ||||
FUTURESPLASH | ||||
GZIP | ||||
JAVASCRIPT_APP | ||||
JSON | ||||
LISTENUP | ||||
MAC_BINARY | ||||
MBEDLET | ||||
MIF | ||||
MSEXCEL | ||||
MSHELP | ||||
MSPOWERPOINT | ||||
MSWORD | ||||
OCTET | ||||
ODA | ||||
POSTSCRIPT | ||||
RTC | ||||
RTF | ||||
STUDIOM | ||||
VMD | ||||
VMF | ||||
EXCEL_OPENOFFICE | ||||
WORD_OPENOFFICE | ||||
WMLC | ||||
WML_SCRIPT_C | ||||
XHTML | ||||
XML | ||||
BCPIO | ||||
ZLIP | ||||
CPIO | ||||
CSH | ||||
DIRECTOR | ||||
DVI | ||||
ENVOY | ||||
GTAR | ||||
HDF | ||||
PHP | ||||
LATEX | ||||
MAC_BIN | ||||
XMIF | ||||
CDF | ||||
NSCHAT | ||||
SHELL | ||||
SHELL_ARCHIVE | ||||
SHOCKWAVE | ||||
SPRITE | ||||
STUFFIT | ||||
SUPERCARD | ||||
CPIO_SV4 | ||||
CPIO_SV4_CRC | ||||
TAR | ||||
TCL | ||||
TEX | ||||
TEXINFO | ||||
TROFF | ||||
TROFF_MAN | ||||
TROFF_ME | ||||
TROFF_MS | ||||
USTAR | ||||
WAIS | ||||
HTML_CGI | ||||
ZIP | ||||
BASIC | ||||
ECHOSPEECH | ||||
TSI | ||||
VOX | ||||
AIFF | ||||
DSPEECH | ||||
MIDI | ||||
MPEG_AUDIO | ||||
REALAUDIO | ||||
REALAUDIO_PLUGIN | ||||
QUICKTIME_AUDIO | ||||
WAV | ||||
DRAWING | ||||
BMP | ||||
CIS_COD | ||||
CMU_RASTER | ||||
FIF | ||||
GIF | ||||
IEF | ||||
JPEG | ||||
PNG | ||||
SVG | ||||
TIFF | ||||
VASA | ||||
BITMAP_WAP | ||||
FREEHAND | ||||
ICON | ||||
PBM_ANYMAP | ||||
PBM_BITMAP | ||||
PBM_GRAYMAP | ||||
PBM_PIXMAP | ||||
RGB | ||||
X_WINDOWS | ||||
XBM | ||||
XPM | ||||
EXTERNAL_BODY | ||||
HTTP | ||||
NEWS | ||||
PARTIAL | ||||
RTC822 | ||||
VRML_MODEL | ||||
ALTERNATIVE | ||||
BYTERANGES | ||||
DIGEST | ||||
ENCRYPTED | ||||
FORM_DATA | ||||
MIXED | ||||
PARALLEL | ||||
RELATED | ||||
REPORT | ||||
SIGNED | ||||
VOICE | ||||
CSV | ||||
CSS | ||||
HTML | ||||
JAVASCRIPT | ||||
PLAIN | ||||
RICHTEXT | ||||
RTF_TEXT | ||||
TSV | ||||
WML | ||||
WML_SCRIPT | ||||
XML_TEXT | ||||
XML_EXTERN | ||||
SETEXT | ||||
SGML | ||||
SPEECH | ||||
MPEG_VIDEO | ||||
QUICKTIME_VIDEO | ||||
VIVO | ||||
WEBM | ||||
MSVIDEO | ||||
MOVIE | ||||
FORMULAONE | ||||
DMF_3 | ||||
VRML_X_WORLD |