Added templateController for angular