I basically need to be able to pass through a $q that is a variable of a search form to a controller, which then calls an api and does a search with that $q..(it can be a an ID,ISBN or a title of the book).
http://pastebin.com/zMZxnJ81 this is my view
http://pastebin.com/JQ3HmFA9 this is my controller
I cannot pass the data from the view to the controller, I get the "last condition" message of the if statement.