Movie ratings app in Angular JS