Update template.js

interpolation now is scopable