added missing dependency to appTemplate.js