Updating angular scripts and adding $resource .