Work with angularjs service

Test work with service