Currently, I am utilizing the following link to integrate requirejs with angularjs: https://github.com/StarterSquad/startersquad.github.com/tree/master/examples/angularjs-requirejs-2
My question is regarding how to use a service function that is defined in js\services\version.js.
Below is the code snippet from my services file:
services.factory('Phone', ['$resource',
function($resource){
console.log("factory");
}]);
I want to call this factory function within my controller. How can I achieve this?