init via angular model value