Generate random id strings as an angular factory - packaged as component