Small changes to 'loop' directive spec and render.js