WIP. started moving things around...
WIP continuing to move config data into angular.
WIP Removed everything from gon except for project id which has to be somewhere at load time.

shitloads of errors but with an initial request it does load the work package data.
added a status service.
WIP using query in api controller just like in wp controller. trying to get angular to use the api method.
Discovering more about the api. think it's definitely a good idea now to create a new work packages api controller because planning elements controller isn't doing what we want.
Made a new work packages api method.
Added an api controller/endpoint for available columns.

still not entirely convinced this is api data but kind of ran out of options.
Moved all the extra meta goodies into the api queries controller.
using a query service call to get the available columns.

still looks messed up because of something to do with the default id column.
sort of works.
WIP. having fun with authorisation.
Bug regarding return js from rabl template.
Don't load work packages on initial load of work_packages#index
Initialize columns on start up, fix js startup errors
Move parts of the promise chain around in work packages controller
Rename default pagination options in angular config
Made a rudimentary attempt at loading query if id is given.

had to put some stuff back into work packages controller again sorry Till.
Block work package table updates until setup is completed
put pesky gemfile.lock back to what it was before.