angular-docs-cn/public/docs/_examples/cb-ts-to-js/js/app/data.service.js

14 lines
262 B
JavaScript

(function(app) {
function DataService() {
}
DataService.annotations = [
new ng.core.Injectable()
];
DataService.prototype.getHeroName = function() {
return 'Windstorm';
};
app.DataService = DataService;
})(window.app = window.app || {});