Comment out print statements.
Remove restangular. Add a getJson() call to the materials service.