Trimmed down the code for the angular components. added missing activate call into controller.