Installed npm Karma and Jasmine, also added bower angular-mocks. Pulled out controler friends in separate file and wrote a jasmine/unit test for it