Page model in angular