Using model in reactive view