passing story object to angular