A contactmanager to test angularjs