got rid of var @@apithingy in controller, because we figured it out in the JS file instead