angular from scratch resource