Advertisement
Guest User

Untitled

a guest
Apr 1st, 2015
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. function myModel(_aProperty)
  2. {
  3. this.aProperty = _aProperty;
  4. }
  5.  
  6. (function () {
  7. 'use strict'
  8.  
  9. angular
  10. .module("app.Common", [])
  11. .factory('model', model);
  12.  
  13. // Impl
  14. function model() {
  15. var _model = function myModel(_aProperty)
  16. {
  17. this.aProperty = _aProperty;
  18. }
  19.  
  20. var service = {
  21. model : _model
  22. }
  23.  
  24. return service;
  25. }
  26. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement