add optional init element in component
Merge pull request #15 from 2gis/optionalelement

add optional init element in component