Uncornt ReferenceError: $ localize ist nicht definiert Angular
This can be sloved by adding localization in angular terminal.
For this do following command in angular terminal
ng add @angular/localize
LovelyGeeks