You are on page 1of 2

docker commands

docker -v

pull image from third party server used for store docker image
docker pull <docker_image>

angular cmd:
npm i --legacy-peer-deps : npm install without version conflicts
npm install : it also intall packages but gives version conflicts

node cms :
npm upgrade

https://in.coursera.org/professional-certificates/google-project-management

////////////////////////////////////////////////////////////////////////
pipes in Angular

in .ts file
title = 'Angular';
today = Date();
//
capString(var : string){
return var.toUpperCase();
}

in html page :

<h1> {{ title | uppercase }}</h1> o/p : ANGULAR


<h1> {{ title | lowercase }}</h1> o/p : angular
<h1> {{ title }}</h1> o/p : Angular
<h1> {{ capString(title) }}</h1>

<h1> {{ today }} </h1>


<h1> {{ today | date : 'fullDate'}} </h1> o/p : Tuesday,Feb 10,2023
<h1> {{ today | date}} </h1> o/p : Feb 10,2023

////////////////////////////////////////////////////////////
Advance pipes in angular

params with pipes

<h1> {{ title | slice : 3 }}</h1> o/p : ular


<h1> {{ title | slice : 3 : 6 }}</h1> o/p : ula
<h1> {{ title | slice : 3 : 6 | uppercase }}</h1> o/p : ULA

You might also like