rest call to angular page