[Solved] Cannot read a property push of undefined in angular
Problem In Angular when pushing items to an Array I get “Uncaught TypeError: Cannot read property ‘push’ of undefined” error as shown below screenshot. Code Here is the code example where this issue occurs, ListEmployeeComponent Component class Interface IEmployee Solution To…