Removed ngx dependency in init