Angular JS wrapper for shortid generator