Single page web api using the angular phone  tutorial as base