AngularJS modelling prototype for content management application