init with angular