Flight comparison app in AngularJS