# Fn.apply is not a function - trying to create a Handlebars helper

**URL:** <https://discuss.emberjs.com/t/fn-apply-is-not-a-function-trying-to-create-a-handlebars-helper/7947>\
**Category:** Uncategorized\
**Created:** [May 7, 2015, 11:01am UTC](https://discuss.emberjs.com/t/fn-apply-is-not-a-function-trying-to-create-a-handlebars-helper/7947 "2015-05-07T11:01:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![babaggeii](https://avatars.discourse-cdn.com/v4/letter/b/e274bd/32.png) [@babaggeii](https://discuss.emberjs.com/u/babaggeii)\
**Post date:** [May 7, 2015, 11:01am UTC](https://discuss.emberjs.com/t/fn-apply-is-not-a-function-trying-to-create-a-handlebars-helper/7947/1 "2015-05-07T11:01:19Z")

</div>

I create the file `app/helpers/test-helper.js`:

```
import Ember from 'ember';

export default Ember.Handlebars.registerBoundHelper('test-helper', function() {
  return "Works!";
});

```

And in the template:

```
{{test-helper}}

```

And I get the above error in the console. What am I doing wrong here?

---

<div class="post-metadata">

**Author:** ![sivakumar\_k](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/sivakumar_k/32/13647_2.png) [@sivakumar\_k](https://discuss.emberjs.com/u/sivakumar_k)\
**Post date:** [July 2, 2015, 10:22am UTC](https://discuss.emberjs.com/t/fn-apply-is-not-a-function-trying-to-create-a-handlebars-helper/7947/2 "2015-07-02T10:22:13Z")

</div>

I tried using **makeBoundHelper** from HTMLBars and **Ember.Helper.helper** both of which kept failing with ember 1.13 with the same error as you’ve mentioned. I was using **ember-cli-auto-register-helpers** earlier, removing that fixed the issue.

---

<div class="post-metadata">

**Author:** ![jasonmit](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/jasonmit/32/182_2.png) [@jasonmit](https://discuss.emberjs.com/u/jasonmit)\
**Post date:** [July 2, 2015, 11:46pm UTC](https://discuss.emberjs.com/t/fn-apply-is-not-a-function-trying-to-create-a-handlebars-helper/7947/3 "2015-07-02T23:46:12Z")

</div>

```nohighlight
// app/helpers/test-helper.js
import Ember from 'ember';

export default Ember.Handlebars.makeBoundHelper(function() {
  return "Works!";
});

```

Side note, if you’re on 1.13.x you should check out the new `Ember.Helper` API [Ember.js 1.13.0 and 2.0 Beta Released](http://emberjs.com/blog/2015/06/12/ember-1-13-0-released.html#toc_new-ember-js-helper-api)
