Date time formatting in AngularJS

Demo Date time {{ThisDate}}
yyyy: {{ ThisDate | date: 'yyyy'}} 4 digit year