added ngResource module and example