[MIE-753] - Change NG-specific references to non-specific references; change console.log to console.error in error blocks; remove unnecessary console.logs.