Helper classes should only contain static functions or variable, if not they are not different from services. Please Correct me if I'm mistaken.
One of ways to create Helper class without Injectable or adding it to providers is posted here Thanks to k7sleeper
Copying the code from the mentioned post for quick reference.
utils.ts :
export default class Utils {
static doSomething(val: string) { return val; }
static doSomethingElse(val: string) { return val; }
}
Usage:
import Utils from './utils'
export class MyClass {
constructor()
{
Utils.doSomething("test");
}
}
But reading more about this, it makes sense to inject them through Injectable and providers, but I would still have all the methods as static and the class without constructor