Template for angular hack