Revert "delete unnecessary controller and its spec"

This reverts commit e3844489ba66fabf7cdcacb6e83b660e2c7caccd.
added ui-router to karma dependencies