Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. app.addService('s',['k',function(k){console.log('new Service k');}]);
  2.  
  3. app.factory('foo',functon() {
  4. $provide.factory('s',function() {
  5. console.log("new service 's'");
  6. });
  7. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement