adding http variable for angular