added angular controller for all this dynamic data stuff we're doing and ajax niceities