2048 in AngularJS