porting angular and view