@Nullable @Override public TypeScriptServerServiceSettings getServiceSettings() { return AngularSettings.get(myProject); }
public static boolean isEnabledAngularService(Project project) { return AngularSettings.get(project).isUseService() && AngularIndexUtil.hasAngularJS2(project) && getServiceDirectory(project) != null; }