include angular resource (ngResource) dependency
Task Resource
put missing 'edit' action from Rails TasksController API
use TaskResource for communicating with API instead of manually using $http