tools/templates/angularjs/resource updated #20