putting cube into angular directive (with separate scopes, but initialization of scope is missing)
Now using attribute keys to initialize x, y and z