Add element creation logic
Remove agnular from dependency