include angular resource
use a service to get the workflows