Javascript Angular Ngoninit The Object Property Is Always Undefined

Javascript Angular Ngoninit The Object Property Is Always Undefined