Skip to content

Instantly share code, notes, and snippets.

View Bhushan001's full-sized avatar
🎯
Focusing

Bhushan Gadekar Bhushan001

🎯
Focusing
  • CRIF
  • Pune
View GitHub Profile
// <script src="angular.min.js"></script>
(function(name, factory) {
// our basic IO module system that stores every module on modules with the "file" namespace
// please use something like browserify rather than rolling your own like this
window.modules = window.modules || {};
window.require = window.require || function require(name) { return window.modules[name] || window[name]; };
var exports = {}; factory(exports, window.require);
window.modules[name] = exports;
}('TodoService', function(exports, require) {