an emberjs example connecting to a rest api