Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function myModel(_aProperty)
- {
- this.aProperty = _aProperty;
- }
- (function () {
- 'use strict'
- angular
- .module("app.Common", [])
- .factory('model', model);
- // Impl
- function model() {
- var _model = function myModel(_aProperty)
- {
- this.aProperty = _aProperty;
- }
- var service = {
- model : _model
- }
- return service;
- }
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement