Adding js for angular-ui's ui-bootstrap with templates