The one-liner solution is to use the below-mentioned command: angular.element(document.body).injector().get('serviceName').
確定! 回上一頁