init with angular and background