refactored to fig1 obj
width/height directive scope fix

'=' instead of '&' in scope: