data is accessed via Ajax ($http)