Create analysis model on AngularJS.